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

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.


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

GetListenerNodeTarget()

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

Returns
Murl.Graph.IGenericNodeTarget.GraphIListener The mutable Graph::IListenerNodeTarget container, or null if not available.