![]() |
Murl Engine API
Version 2018.3
|
The IResourceShadowGeometry graph node interface. More...
#include <murl_graph_i_resource_shadow_geometry.h>
The IResourceShadowGeometry graph node interface.
This interface represents a renderable shadow volume geometry that is dynamically generated from the geometry information stored in a given read-only Resource::IMesh object, together with (an) active light source(s) at a given unit.
Public Member Functions | |
virtual INode * | GetNodeInterface ()=0 |
Get the mutable Graph::INode interface. More... | |
virtual const INode * | GetNodeInterface () const =0 |
Get the constant Graph::INode interface. More... | |
virtual ITransform * | GetTransformInterface ()=0 |
Get the mutable Graph::ITransform interface. More... | |
virtual const ITransform * | GetTransformInterface () const =0 |
Get the constant Graph::ITransform interface. More... | |
virtual IResourceMeshGeometry * | GetResourceMeshGeometryInterface ()=0 |
Get the mutable Graph::IResourceMeshGeometry interface. More... | |
virtual const IResourceMeshGeometry * | GetResourceMeshGeometryInterface () const =0 |
Get the constant Graph::IResourceMeshGeometry interface. More... | |
virtual Bool | SetLightUnit (UInt32 unit)=0 |
Set the light unit used for shadow volume creation. More... | |
virtual UInt32 | GetLightUnit () const =0 |
Get the light unit used for shadow volume creation. More... | |
virtual Bool | SetFacesToExtrude (IEnums::PolygonFaces faces)=0 |
Set which faces are used to extrude the shadow volumes. More... | |
virtual IEnums::PolygonFaces | GetFacesToExtrude () const =0 |
Query which faces are used to extrude the shadow volumes. More... | |
virtual Bool | SetShadowVolumeGenerationMode (IEnums::ShadowVolumeGenerationMode mode)=0 |
Set the shadow volume generation mode. More... | |
virtual IEnums::ShadowVolumeGenerationMode | GetShadowVolumeGenerationMode () const =0 |
Query the shadow volume generation mode. More... | |
|
pure virtual |
Get the mutable Graph::INode interface.
This method returns a mutable pointer to the node's Graph::INode interface, to be able to query or modify common node properties such as active state, visibility or ID.
|
pure virtual |
Get the constant Graph::INode interface.
This method returns a constant pointer to the node's Graph::INode interface, to be able to query common node properties such as active state, visibility or ID.
|
pure virtual |
Get the mutable Graph::ITransform interface.
This method returns a mutable pointer to the node's Graph::ITransform interface, to be able to query or modify the node's transformation matrix and depth order.
|
pure virtual |
Get the constant Graph::ITransform interface.
This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.
|
pure virtual |
Get the mutable Graph::IResourceMeshGeometry interface.
This method returns a mutable pointer to the node's Graph::IResourceMeshGeometry interface, to be able to query or modify base properties of the shadow geometry.
|
pure virtual |
Get the constant Graph::IResourceMeshGeometry interface.
This method returns a constant pointer to the node's Graph::IResourceMeshGeometry interface, to be able to query base properties of the shadow geometry.
Set the light unit used for shadow volume creation.
unit | The light unit in the range from 0 to IEnums::NUM_LIGHT_UNITS-1. |
|
pure virtual |
Get the light unit used for shadow volume creation.
|
pure virtual |
Set which faces are used to extrude the shadow volumes.
faces | The used faces, either IEnums::POLYGON_FACES_FRONT_ONLY or IEnums::POLYGON_FACES_BACK_ONLY. |
|
pure virtual |
Query which faces are used to extrude the shadow volumes.
|
pure virtual |
Set the shadow volume generation mode.
If set to IEnums::SHADOW_VOLUME_GENERATION_MODE_DEFAULT, the preferred way is to use geometry adjacency information, if present. Otherwise, bounding data is used.
mode | The generation mode. |
|
pure virtual |
Query the shadow volume generation mode.