메소드 | 설명 | |
---|---|---|
AnimationController ( SkinnedModelBoneCollection skeleton ) : System |
Initializes a new instance of the T:XNAnimation.Controllers.AnimationController class.
|
|
CrossFade ( AnimationClip animationClip, System.TimeSpan fadeTime ) : void | ||
CrossFade ( AnimationClip animationClip, System.TimeSpan fadeTime, InterpolationMode translationInterpolation, InterpolationMode orientationInterpolation, InterpolationMode scaleInterpolation ) : void | ||
GetBoneAbsoluteTransform ( int boneId ) : Matrix | ||
GetBoneAbsoluteTransform ( string boneName ) : Matrix | ||
PlayClip ( AnimationClip animationClip ) : void | ||
SetBoneController ( int bone, Microsoft.Xna.Framework.Quaternion angles ) : void | ||
SetBoneController ( string boneName, Microsoft.Xna.Framework.Quaternion angles ) : void | ||
StartClip ( AnimationClip animationClip ) : void | ||
Update ( System.TimeSpan elapsedTime, Matrix parent ) : void |
메소드 | 설명 | |
---|---|---|
InterpolateChannelPose ( AnimationChannel animationChannel, System.TimeSpan animationTime, Pose &outPose ) : void |
Retrieves and interpolates the pose of an animation channel.
|
|
UpdateAbsoluteBoneTransforms ( Matrix &parent ) : void |
Calculates the final configuration of all skeleton's bones used to transform the model's mesh.
|
|
UpdateAnimationTime ( System.TimeSpan elapsedTime ) : void |
Updates the animation clip time.
|
|
UpdateChannelPoses ( ) : void |
Updates the pose of all skeleton's bones.
|
|
UpdateCrossFadeTime ( System.TimeSpan elapsedTime ) : void |
Updates the CrossFade time
|
public AnimationController ( SkinnedModelBoneCollection skeleton ) : System | ||
skeleton | SkinnedModelBoneCollection | The skeleton of the model to be animated |
리턴 | System |
public CrossFade ( AnimationClip animationClip, System.TimeSpan fadeTime ) : void | ||
animationClip | AnimationClip | |
fadeTime | System.TimeSpan | |
리턴 | void |
public CrossFade ( AnimationClip animationClip, System.TimeSpan fadeTime, InterpolationMode translationInterpolation, InterpolationMode orientationInterpolation, InterpolationMode scaleInterpolation ) : void | ||
animationClip | AnimationClip | |
fadeTime | System.TimeSpan | |
translationInterpolation | InterpolationMode | |
orientationInterpolation | InterpolationMode | |
scaleInterpolation | InterpolationMode | |
리턴 | void |
public GetBoneAbsoluteTransform ( int boneId ) : Matrix | ||
boneId | int | |
리턴 | Matrix |
public GetBoneAbsoluteTransform ( string boneName ) : Matrix | ||
boneName | string | |
리턴 | Matrix |
public PlayClip ( AnimationClip animationClip ) : void | ||
animationClip | AnimationClip | |
리턴 | void |
public SetBoneController ( int bone, Microsoft.Xna.Framework.Quaternion angles ) : void | ||
bone | int | |
angles | Microsoft.Xna.Framework.Quaternion | |
리턴 | void |
public SetBoneController ( string boneName, Microsoft.Xna.Framework.Quaternion angles ) : void | ||
boneName | string | |
angles | Microsoft.Xna.Framework.Quaternion | |
리턴 | void |
public StartClip ( AnimationClip animationClip ) : void | ||
animationClip | AnimationClip | |
리턴 | void |
public Update ( System.TimeSpan elapsedTime, Matrix parent ) : void | ||
elapsedTime | System.TimeSpan | |
parent | Matrix | |
리턴 | void |