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

The ICullerStateCopy graph node interface.

Nodes implementing this interface provide a means to copy the current culler state assignment (performed via an ICullerState node) at a given source slot to a given destination slot.

See Graph::ICullerState for additional details.


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

SetSourceSlot(slot)

Set the source slot to copy the state assignment from. Valid slot value ranges depend on the actual node, e.g. IEnums::NUM_VIDEO_CULLER_SLOTS-1 or IEnums::NUM_AUDIO_CULLER_SLOTS-1.

Boolean SetSourceSlot(Integer slot)

Parameters
slotThe source slot.
Returns
Boolean true if successful.

GetSourceSlot()

Get the source slot to copy the state assignment from.

Integer GetSourceSlot()

Returns
Integer The source slot.