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

The IAnimationTimeController interface.

This interface provides a specialized Graph::ITimeController to manipulate a node's properties according to a given Resource::IAnimation object.


Table members

Methods


GetTimeControllerInterface()

Get the constant ITimeController interface.

Murl.Graph.ITimeController GetTimeControllerInterface()

Returns
Murl.Graph.ITimeController The constant ITimeController interface.

GetAnimationResourceTarget()

Get a constant Graph::IAnimationResourceTarget container. This method returns a constant pointer to a Graph::IAnimationResourceTarget container, which allows to query the animation resource referenced.

Murl.Graph.IGenericResourceTarget.ResourceIAnimation GetAnimationResourceTarget()

Returns
Murl.Graph.IGenericResourceTarget.ResourceIAnimation The constant Graph::IAnimationResourceTarget container.

SetAnimationKeys(keys)

Set the bit mask of animation keys the controller should react on.

Boolean SetAnimationKeys(Integer keys)

Parameters
keysAny combination of IEnums::AnimationKey values.
Returns
Boolean true if successful.

GetAnimationKeys()

Get the bit mask of animation keys the controller should react on.

Integer GetAnimationKeys()

Returns
Integer The set combination of IEnums::AnimationKey values.

SetRotationBlendReference(blendReference)

Set the reference mode used when blending multiple rotation keys.

Boolean SetRotationBlendReference(Murl.IEnums.BlendReference blendReference)

Parameters
blendReferenceThe blend reference mode.
Returns
Boolean true if successful.

GetRotationBlendReference()

Get the reference mode used when blending multiple rotation keys.

Murl.IEnums.BlendReference GetRotationBlendReference()

Returns
Murl.IEnums.BlendReference The blend reference mode.

SetRotationBlendDirection(blendDirection)

Set the blend direction used when blending multiple rotation keys.

Boolean SetRotationBlendDirection(Murl.IEnums.BlendDirection blendDirection)

Parameters
blendDirectionThe blend direction.
Returns
Boolean true if successful.

GetRotationBlendDirection()

Get the blend direction used when blending multiple rotation keys.

Murl.IEnums.BlendDirection GetRotationBlendDirection()

Returns
Murl.IEnums.BlendDirection The blend direction.