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

The ITimelineStateCopy graph node interface.

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

See Graph::ITimelineState for additional details.


Table members

Inherited


Murl.Graph.IStateUnit

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

SetSourceUnit(unit)

Set the source unit to copy the state assignment from.

Boolean SetSourceUnit(Integer unit)

Parameters
unitThe source unit, from 0 to IEnums::NUM_TIMELINE_UNITS-1.
Returns
Boolean true if successful.

GetSourceUnit()

Get the source unit to copy the state assignment from.

Integer GetSourceUnit()

Returns
Integer The source unit, from 0 to IEnums::NUM_TIMELINE_UNITS-1.