![]() |
Murl Engine API
Version 2018.3
|
The ILightState graph node interface. More...
#include <murl_graph_i_light_state.h>
The ILightState graph node interface.
Light state nodes are used to activate lights for rendering during scene graph traversal. As soon as a specific light is activated via a light state node, it stays active during traversal until a different light state node is encountered.
See Output-States, Slots und Units for an overview of state handling during scene graph traversal.
See Graph::ILight for defining individual light sources and their group assignment.
See Graph::ILightTransform for setting a light's position and orientation.
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 ILightNodeTarget * | GetLightNodeTarget ()=0 |
Get the mutable Graph::ILightNodeTarget container. More... | |
virtual const ILightNodeTarget * | GetLightNodeTarget () const =0 |
Get the constant Graph::ILightNodeTarget container. More... | |
![]() | |
virtual Bool | SetUnit (UInt32 unit)=0 |
Set the unit index to use. More... | |
virtual UInt32 | GetUnit () const =0 |
Get the unit index to use. 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::ILightNodeTarget container.
This method returns a mutable pointer to the node's Graph::ILightNodeTarget container, which allows to set or query the light this state refers to.
|
pure virtual |
Get the constant Graph::ILightNodeTarget container.
This method returns a constant pointer to the node's Graph::ILightNodeTarget container, which allows to query the light this state refers to.