Resonance Game
Team Walterio Fuchsbauer
 All Classes Namespaces Files Functions Variables Enumerations Properties
AnimationLibrary.AnimationPlayer Class Reference

The animation player is in charge of decoding bone position matrices from an animation clip. More...

List of all members.

Public Member Functions

 AnimationPlayer (SkinningData skinningData)
 Constructs a new animation player.
void StartClip (AnimationClip clip)
 Starts decoding the specified animation clip.
void Update (TimeSpan time, bool relativeToCurrentTime, Matrix rootTransform)
 Advances the current animation position.
void UpdateBoneTransforms (TimeSpan time, bool relativeToCurrentTime)
 Helper used by the Update method to refresh the BoneTransforms data.
void UpdateWorldTransforms (Matrix rootTransform)
 Helper used by the Update method to refresh the WorldTransforms data.
void UpdateSkinTransforms ()
 Helper used by the Update method to refresh the SkinTransforms data.
Matrix[] GetBoneTransforms ()
 Gets the current bone transform matrices, relative to their parent bones.
Matrix[] GetWorldTransforms ()
 Gets the current bone transform matrices, in absolute format.
Matrix[] GetSkinTransforms ()
 Gets the current bone transform matrices, relative to the skinning bind pose.

Properties

AnimationClip CurrentClip [get]
 Gets the clip currently being decoded.
TimeSpan CurrentTime [get]
 Gets the current play position.

Detailed Description

The animation player is in charge of decoding bone position matrices from an animation clip.


Constructor & Destructor Documentation

Constructs a new animation player.


Member Function Documentation

Gets the current bone transform matrices, relative to their parent bones.

Gets the current bone transform matrices, relative to the skinning bind pose.

Gets the current bone transform matrices, in absolute format.

Starts decoding the specified animation clip.

Here is the caller graph for this function:

void AnimationLibrary.AnimationPlayer.Update ( TimeSpan  time,
bool  relativeToCurrentTime,
Matrix  rootTransform 
)

Advances the current animation position.

Here is the call graph for this function:

Here is the caller graph for this function:

void AnimationLibrary.AnimationPlayer.UpdateBoneTransforms ( TimeSpan  time,
bool  relativeToCurrentTime 
)

Helper used by the Update method to refresh the BoneTransforms data.

Here is the caller graph for this function:

Helper used by the Update method to refresh the SkinTransforms data.

Here is the caller graph for this function:

Helper used by the Update method to refresh the WorldTransforms data.

Here is the caller graph for this function:


Property Documentation

Gets the clip currently being decoded.

Gets the current play position.


The documentation for this class was generated from the following file: