Previous Up Next

M3applyAnimKey
Calculates the animation for the '_top_' sub-tree, at the (integer) frame given as a parameter.
The animation is calculated based on the animation node descendant provided as a parameter.

I M3applyAnimKey (
S3d _session_
H3d _anim_
H3d _top_
I _frame_
I _flag_
)
Parameters

_session_
3D Session
_anim_
Animation
_top_
Tree top to be animated
_frame_
Animation frame
_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
Return value

0 if successful, otherwise nil