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