C# 클래스 Axiom.Animating.VertexAnimationTrack

상속: AnimationTrack
파일 보기 프로젝트 열기: WolfgangSt/axiom 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
animationType VertexAnimationType
targetMode VertexAnimationTargetMode
targetVertexData Axiom.Graphics.VertexData

공개 메소드들

메소드 설명
Apply ( float time, float weight, bool accumulate, float scale ) : void
ApplyPoseToVertexData ( Pose pose, VertexData data, float influence ) : void

Utility method for applying pose animation

ApplyToVertexData ( VertexData data, float time, float weight, List poseList ) : void

As the 'apply' method but applies to specified VertexData instead of associated data.

CreateKeyFrameImpl ( float time ) : KeyFrame
CreateVertexMorphKeyFrame ( float time ) : VertexMorphKeyFrame

Creates a new morph KeyFrame and adds it to this animation at the given time index.

It is better to create KeyFrames in time order. Creating them out of order can result in expensive reordering processing. Note that a KeyFrame at time index 0.0 is always created for you, so you don't need to create this one, just access it using getKeyFrame(0);

CreateVertexPoseKeyFrame ( float time ) : VertexPoseKeyFrame

Creates the single pose KeyFrame and adds it to this animation.

GetInterpolatedKeyFrame ( float time, KeyFrame kf ) : KeyFrame

This method in fact does nothing, since interpolation is not performed inside the keyframes for this type of track.

GetVertexMorphKeyFrame ( ushort index ) : VertexMorphKeyFrame

Returns the morph KeyFrame at the specified index.

GetVertexPoseKeyFrame ( ushort index ) : VertexPoseKeyFrame

Returns the pose KeyFrame at the specified index.

HasNonZeroKeyFrames ( ) : bool

Method to determine if this track has any KeyFrames which are doing anything useful - can be used to determine if this track can be optimised out.

Optimise ( ) : void

Optimise the current track by removing any duplicate keyframes.

VertexAnimationTrack ( Animation parent, VertexAnimationType animationType ) : System
VertexAnimationTrack ( Animation parent, VertexAnimationType animationType, VertexData targetVertexData, VertexAnimationTargetMode targetMode ) : System
VertexAnimationTrack ( Animation parent, ushort handle ) : System
VertexAnimationTrack ( Animation parent, ushort handle, VertexAnimationType animationType ) : System

메소드 상세

Apply() 공개 메소드

public Apply ( float time, float weight, bool accumulate, float scale ) : void
time float
weight float
accumulate bool
scale float
리턴 void

ApplyPoseToVertexData() 공개 메소드

Utility method for applying pose animation
public ApplyPoseToVertexData ( Pose pose, VertexData data, float influence ) : void
pose Pose
data Axiom.Graphics.VertexData
influence float
리턴 void

ApplyToVertexData() 공개 메소드

As the 'apply' method but applies to specified VertexData instead of associated data.
public ApplyToVertexData ( VertexData data, float time, float weight, List poseList ) : void
data Axiom.Graphics.VertexData
time float
weight float
poseList List
리턴 void

CreateKeyFrameImpl() 공개 메소드

public CreateKeyFrameImpl ( float time ) : KeyFrame
time float
리턴 KeyFrame

CreateVertexMorphKeyFrame() 공개 메소드

Creates a new morph KeyFrame and adds it to this animation at the given time index.
It is better to create KeyFrames in time order. Creating them out of order can result in expensive reordering processing. Note that a KeyFrame at time index 0.0 is always created for you, so you don't need to create this one, just access it using getKeyFrame(0);
public CreateVertexMorphKeyFrame ( float time ) : VertexMorphKeyFrame
time float The time from which this KeyFrame will apply.
리턴 VertexMorphKeyFrame

CreateVertexPoseKeyFrame() 공개 메소드

Creates the single pose KeyFrame and adds it to this animation.
public CreateVertexPoseKeyFrame ( float time ) : VertexPoseKeyFrame
time float
리턴 VertexPoseKeyFrame

GetInterpolatedKeyFrame() 공개 메소드

This method in fact does nothing, since interpolation is not performed inside the keyframes for this type of track.
public GetInterpolatedKeyFrame ( float time, KeyFrame kf ) : KeyFrame
time float
kf KeyFrame
리턴 KeyFrame

GetVertexMorphKeyFrame() 공개 메소드

Returns the morph KeyFrame at the specified index.
public GetVertexMorphKeyFrame ( ushort index ) : VertexMorphKeyFrame
index ushort
리턴 VertexMorphKeyFrame

GetVertexPoseKeyFrame() 공개 메소드

Returns the pose KeyFrame at the specified index.
public GetVertexPoseKeyFrame ( ushort index ) : VertexPoseKeyFrame
index ushort
리턴 VertexPoseKeyFrame

HasNonZeroKeyFrames() 공개 메소드

Method to determine if this track has any KeyFrames which are doing anything useful - can be used to determine if this track can be optimised out.
public HasNonZeroKeyFrames ( ) : bool
리턴 bool

Optimise() 공개 메소드

Optimise the current track by removing any duplicate keyframes.
public Optimise ( ) : void
리턴 void

VertexAnimationTrack() 공개 메소드

public VertexAnimationTrack ( Animation parent, VertexAnimationType animationType ) : System
parent Animation
animationType VertexAnimationType
리턴 System

VertexAnimationTrack() 공개 메소드

public VertexAnimationTrack ( Animation parent, VertexAnimationType animationType, VertexData targetVertexData, VertexAnimationTargetMode targetMode ) : System
parent Animation
animationType VertexAnimationType
targetVertexData Axiom.Graphics.VertexData
targetMode VertexAnimationTargetMode
리턴 System

VertexAnimationTrack() 공개 메소드

public VertexAnimationTrack ( Animation parent, ushort handle ) : System
parent Animation
handle ushort
리턴 System

VertexAnimationTrack() 공개 메소드

public VertexAnimationTrack ( Animation parent, ushort handle, VertexAnimationType animationType ) : System
parent Animation
handle ushort
animationType VertexAnimationType
리턴 System

프로퍼티 상세

animationType 보호되어 있는 프로퍼티

protected VertexAnimationType animationType
리턴 VertexAnimationType

targetMode 보호되어 있는 프로퍼티

protected VertexAnimationTargetMode targetMode
리턴 VertexAnimationTargetMode

targetVertexData 보호되어 있는 프로퍼티

protected VertexData,Axiom.Graphics targetVertexData
리턴 Axiom.Graphics.VertexData