Метод | Описание | |
---|---|---|
AnimationPlayer ( SkinnedModel.SkinningData skinningData ) : System |
Constructs a new animation player.
|
|
GetBoneTransforms ( ) : Matrix[] |
Gets the current bone transform matrices, relative to their parent bones.
|
|
GetSkinTransforms ( ) : Matrix[] |
Gets the current bone transform matrices, relative to the skinning bind pose.
|
|
GetWorldTransforms ( ) : Matrix[] |
Gets the current bone transform matrices, in absolute format.
|
|
StartClip ( SkinnedModel.AnimationClip clip ) : void |
Starts decoding the specified animation clip.
|
|
Update ( System.TimeSpan time, bool relativeToCurrentTime, Matrix rootTransform ) : void |
Advances the current animation position.
|
|
UpdateBoneTransforms ( System.TimeSpan time, bool relativeToCurrentTime ) : void |
Helper used by the Update method to refresh the BoneTransforms data.
|
|
UpdateSkinTransforms ( ) : void |
Helper used by the Update method to refresh the SkinTransforms data.
|
|
UpdateWorldTransforms ( Matrix rootTransform ) : void |
Helper used by the Update method to refresh the WorldTransforms data.
|
public AnimationPlayer ( SkinnedModel.SkinningData skinningData ) : System | ||
skinningData | SkinnedModel.SkinningData | |
Результат | System |
public StartClip ( SkinnedModel.AnimationClip clip ) : void | ||
clip | SkinnedModel.AnimationClip | |
Результат | void |
public Update ( System.TimeSpan time, bool relativeToCurrentTime, Matrix rootTransform ) : void | ||
time | System.TimeSpan | |
relativeToCurrentTime | bool | |
rootTransform | Matrix | |
Результат | void |
public UpdateBoneTransforms ( System.TimeSpan time, bool relativeToCurrentTime ) : void | ||
time | System.TimeSpan | |
relativeToCurrentTime | bool | |
Результат | void |
public UpdateWorldTransforms ( Matrix rootTransform ) : void | ||
rootTransform | Matrix | |
Результат | void |