Previous | Up | Next |
Calculates the animation for the '_top_' sub-tree, at the frame interpolated between the two (integer) frames given as parameters.Parameters
The interpolation coefficient is expressed as an integer (0 to 255).
The animation is calculated based on the animation node descendant provided as a parameter.
I M3applyAnimKey2 ( S3d _session_ H3d _anim0_ H3d _anim1_ H3d _top_ I _frame0_ I _frame1_ I _rate_ I _flag_ )
Return value
_session_ 3D Session _anim0_ Animation 0 _anim1_ Animation 1 _top_ Tree top to be animated _frame0_ Animation frame #0 _frame1_ Animation frame #1 _rate_ Interpolation rate _flag_ The '_flag_' parameter is composed of the following flags :
ANIM_POS animation of positions ANIM_ANG animation of rotations ANIM_TOP also applies to the animation of the '_top_' node
0 if successful, otherwise nil