![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IIslandState graph node interface.
Island state nodes are used to activate and/or quickly switch between physics simulation islands (Graph::IIsland) during scene graph traversal. As soon as a specific island is activated at a given slot via an island state node, it stays active during traversal until a different island state node using the same slot is encountered.
Use the base interface's IStateSlot::SetSlot() method to set the actual slot index the referenced islandf should be attached to.
See sceneGraphStatesSlotsUnits for an overview of state handling during scene graph traversal.
See Graph::IIsland for defining a specific physics island.
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.
Murl.Graph.INode GetNodeInterface()
Get the constant Graph::IIslandNodeTarget container. This method returns a constant pointer to the node's Graph::IIslandNodeTarget container, which allows to query the island this state node refers to.
Murl.Graph.IGenericNodeTarget.GraphIIsland GetIslandNodeTarget()