![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IAnchorState graph node interface.
Anchor state nodes are used to activate and/or quickly switch between anchors during scene graph traversal. As soon as a specific anchor is activated via a anchor state node, it stays active during traversal until a different anchor state node is encountered.
See sceneGraphStatesSlotsUnits for an overview of state handling during scene graph traversal.
See Graph::IAnchor for defining a specific anchor for rendering.
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::IAnchorNodeTarget container. This method returns a constant pointer to the node's Graph::IAnchorNodeTarget container, which allows to query the anchor this state node refers to.
Murl.Graph.IGenericNodeTarget.GraphIAnchor GetAnchorNodeTarget()