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

The ICameraState graph node interface.

Camera state nodes are used to activate and/or quickly switch between cameras during scene graph traversal. As soon as a specific camera is activated via a camera state node, it stays active during traversal until a different camera state node is encountered.

See sceneGraphStatesSlotsUnits for an overview of state handling during scene graph traversal.
See Graph::ICamera for defining a specific camera for rendering.
See Graph::ICameraTransform for setting a camera'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

GetCameraNodeTarget()

Get the constant Graph::ICameraNodeTarget container. This method returns a constant pointer to the node's Graph::ICameraNodeTarget container, which allows to query the camera this state node refers to.

Murl.Graph.IGenericNodeTarget.GraphICamera GetCameraNodeTarget()

Returns
Murl.Graph.IGenericNodeTarget.GraphICamera The mutable Graph::ICameraNodeTarget container, or null if not available.