Function _IrrSetJointMode

au3Irr2

au3Irr2 Function Reference

_IrrSetJointMode

Sets the animation mode of joints in a node.

#Include <au3Irrlicht2.au3>
_IrrSetJointMode($h_Node, $i_Mode)

 

Parameters

$h_Node Handle to a character scene node.
$i_Mode can be one of the following;
$IRR_JOINT_MODE_NONE - no animation of the model based on bones.
$IRR_JOINT_MODE_READ - automatic animation based upon the animation defined with calls like _IrrSetNodeAnimationRange.
IRR_JOINT_MODE_CONTROL - allow the position of the bones to be set through code.

 

Return Value

Success: True
Failure: False

 

Remarks

When using the control mode _IrrAnimateJoints must be called before IrrDrawScene.

 

Related

_IrrSetNodeAnimationRange, _IrrAnimateJoints, _IrrSetTransitionTime