MAXBoneAnimTrack

This is a container class for animation tracks during conversion.

Interface Method

Description

MAXBoneAnimTrack

Class constructor

~MAXBoneAnimTrack

Class destructor

Init

Allocates an array of IFXKeyFrame objects to store the animation data

SetKey

Populates a keyframe

SetName

Sets the name of the bone


MAXBoneAnimTrack::MAXBoneAnimTrack ()

This is the constructor method.

Parameters:

None

Return Values


MAXBoneAnimTrack::~MAXBoneAnimTrack ()

This is the destructor method.

Parameters:

None

Return Values


MAXBoneAnimTrack::Init (U32 in_FrameCnt)

This method allocates an array of IFXKeyFrame objects to store the animation data.

Parameters:

in_FrameCnt

Number of key frames for the bone

Return Values

Comments:

Does not check for allocation failure.


MAXBoneAnimTrack::SetKey (U32 in_Idx, F32 in_Time, IFXQuaternion in_Rot, IFXVector3 in_Disp, IFXVector3 in_Scale)

This method populates a keyframe.

Parameters:

in_Idx

Index of the keyframe

in_Time

Time at which the keyframe occurs

in_Rot

Rotation of the keyframe

in_Disp

Displacement of the keyframe

in_Scale

Scale of the keyframe

Return Values

Comments:

No error checking for array overrun


MAXBoneAnimTrack::SetName (CIFXString in_Name)

This method sets the name of the bone.

Parameters:

in_Name

Name to set the bone to

Return Values

 

§See asterisked (*) statement at Legal Information © 2001 Intel Corporation.