![]() |
Murl Engine API
Version 2018.3
|
The ISurfaceState graph node interface. More...
#include <murl_graph_i_surface_state.h>
The ISurfaceState graph node interface.
Surface state nodes are used to activate and/or quickly switch between physical collision surfaces (Graph::ISurface) during scene graph traversal. As soon as a specific surface is activated at a given slot via a surface state node, it stays active during traversal until a different surface state node using the same slot is encountered.
Use the base interface's IStateSlot::SetSlot() method to set the actual slot index the referenced surface should be attached to.
See Output-States, Slots und Units for an overview of state handling during scene graph traversal.
See Graph::ISurface for defining a specific surface for handling collisions.
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 ISurfaceNodeTarget * | GetSurfaceNodeTarget ()=0 |
Get the mutable Graph::ISurfaceNodeTarget container. More... | |
virtual const ISurfaceNodeTarget * | GetSurfaceNodeTarget () const =0 |
Get the constant Graph::ISurfaceNodeTarget container. More... | |
![]() | |
virtual Bool | SetSlot (SInt32 slot)=0 |
Set the slot index to use. More... | |
virtual SInt32 | GetSlot () const =0 |
Get the slot 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::ISurfaceNodeTarget container.
This method returns a mutable pointer to the node's Graph::ISurfaceNodeTarget container, which allows to set or query the surface this state node refers to.
|
pure virtual |
Get the constant Graph::ISurfaceNodeTarget container.
This method returns a constant pointer to the node's Graph::ISurfaceNodeTarget container, which allows to query the surface this state node refers to.