Murl Engine Lua Addon API  Version 1.0 beta
Murl.Graph.IIslandState

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.

Table members

Inherited


Murl.Graph.IStateSlot

Methods


GetNodeInterface()

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()

Returns
Murl.Graph.INode The constant Graph::INode interface, or null if not available

GetIslandNodeTarget()

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()

Returns
Murl.Graph.IGenericNodeTarget.GraphIIsland The mutable Graph::IIslandNodeTarget container, or null if not available.