Previous Up Next

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

I M3applyAnimKeyF (
S3d _session_
H3d _anim_
H3d _top_
F _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