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

The IComplexTransform graph node interface.


Table members

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

GetTransformInterface()

Get the constant Graph::ITransform interface. This method returns a constant pointer to the node's Graph::ITransform interface, to be able to query the node's transformation matrix and depth order.

Murl.Graph.ITransform GetTransformInterface()

Returns
Murl.Graph.ITransform The constant Graph::ITransform interface, or null if not available

GetScaleInterface()

Get the constant Graph::IScale interface. This method returns a constant pointer to the node's Graph::IScale interface, to be able to query the node's scale factor.

Murl.Graph.IScale GetScaleInterface()

Returns
Murl.Graph.IScale The constant Graph::IScale interface, or null if not available

GetShearInterface()

Get the constant Graph::IShear interface. This method returns a constant pointer to the node's Graph::IShear interface, to be able to query the node's shear transform.

Murl.Graph.IShear GetShearInterface()

Returns
Murl.Graph.IShear The constant Graph::IShear interface, or null if not available

SetType(type)

Set the type of complex transform.

Boolean SetType(Murl.IEnums.ComplexTransformType type)

Parameters
typeThe type.
Returns
Boolean true if successful.

GetType()

Get the type of complex transform.

Murl.IEnums.ComplexTransformType GetType()

Returns
Murl.IEnums.ComplexTransformType The type.

SetInheritRotationEnabled(enabled)

Enable/disable rotation inheritance.

Boolean SetInheritRotationEnabled(Boolean enabled)

Parameters
enabledIf true, rotations are inherited.
Returns
Boolean true if successful.

IsInheritRotationEnabled()

Check if rotation inheritance is enabled.

Boolean IsInheritRotationEnabled()

Returns
Boolean true if rotations are inherited.

SetInheritScaleEnabled(enabled)

Enable/disable scaling inheritance.

Boolean SetInheritScaleEnabled(Boolean enabled)

Parameters
enabledIf true, scaling is inherited.
Returns
Boolean true if successful.

IsInheritScaleEnabled()

Check if scaling inheritance is enabled.

Boolean IsInheritScaleEnabled()

Returns
Boolean true if scaling is inherited.

SetInheritReflectionEnabled(enabled)

Enable/disable reflection inheritance.

Boolean SetInheritReflectionEnabled(Boolean enabled)

Parameters
enabledIf true, reflection is inherited.
Returns
Boolean true if successful.

IsInheritReflectionEnabled()

Check if reflection inheritance is enabled.

Boolean IsInheritReflectionEnabled()

Returns
Boolean true if reflection is inherited.