![]() |
Murl Engine Lua Addon API
Version 1.0 beta
|
The IBonePathConstraint graph node interface.
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()
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()
Get the constant Graph::IBoneConstraint interface. This method returns a constant pointer to the node's Graph::IBoneConstraint interface, to be able to query the base constraint parameters.
Murl.Graph.IBoneConstraint GetBoneConstraintInterface()
Get a constant Graph::IMeshResourceTarget container. This method returns a constant pointer to a Graph::IMeshResourceTarget container, which allows to query the path mesh resource.
Murl.Graph.IGenericResourceTarget.ResourceIMesh GetMeshResourceTarget()
Set the position blend factor.
Boolean SetPositionBlendFactor(Number f)
f | The common blend factor for all three components (X, Y and Z). |
Set the position blend factor.
Boolean SetPositionBlendFactor(Number x, Number y, Number z)
x | The x component. |
y | The y component. |
z | The z component. |
Set the position blend factor.
Boolean SetPositionBlendFactor(Murl.Math.Vector factor)
factor | The position blend factor. |
Set the X component of the position blend factor.
Boolean SetPositionBlendFactorX(Number x)
x | The x component. |
Set the Y component of the position blend factor.
Boolean SetPositionBlendFactorY(Number y)
y | The y component. |
Set the Z component of the position blend factor.
Boolean SetPositionBlendFactorZ(Number z)
z | The z component. |
Get the position blend factor.
Murl.Math.Vector GetPositionBlendFactor()
Get the X component of the position blend factor.
Number GetPositionBlendFactorX()
Get the Y component of the position blend factor.
Number GetPositionBlendFactorY()
Get the Z component of the position blend factor.
Number GetPositionBlendFactorZ()
Set the rotation blend factor.
Boolean SetRotationBlendFactor(Number factor)
factor | The rotation blend factor. |
Get the rotation blend factor.
Number GetRotationBlendFactor()
Set the position offset.
Boolean SetPositionOffset(Number offset)
offset | The position offset. |
Get the position offset.
Number GetPositionOffset()
Set the rotation offset.
Boolean SetRotationOffset(Number offset)
offset | The rotation offset. |
Get the rotation offset.
Number GetRotationOffset()
Set the spacing value.
Boolean SetSpacing(Number spacing)
spacing | The spacing value. |
Get the spacing value.
Number GetSpacing()
Set the position mode.
Boolean SetPositionMode(Murl.IEnums.PathPositionMode mode)
mode | The position mode. |
Get the position mode.
Murl.IEnums.PathPositionMode GetPositionMode()
Set the rotation mode.
Boolean SetRotationMode(Murl.IEnums.PathRotationMode mode)
mode | The rotation mode. |
Get the rotation mode.
Murl.IEnums.PathRotationMode GetRotationMode()
Set the spacing mode.
Boolean SetSpacingMode(Murl.IEnums.PathSpacingMode mode)
mode | The spacing mode. |
Get the spacing mode.
Murl.IEnums.PathSpacingMode GetSpacingMode()
Set the movement mode.
Boolean SetMovementMode(Murl.IEnums.PathMovementMode mode)
mode | The movement mode. |
Get the movement mode.
Murl.IEnums.PathMovementMode GetMovementMode()
Set if the path is closed.
Boolean SetClosed(Boolean isClosed)
isClosed | true if closed. |
Check if the path is closed.
Boolean IsClosed()
Set the maximum number of bones per vertex for vertex skinning.
Boolean SetMaxNumberOfBonesPerVertex(Integer maxNumBones)
maxNumBones | The maximum number of bones. |
Get the maximum number of bones per vertex for vertex skinning.
Integer GetMaxNumberOfBonesPerVertex()