C# Класс Axiom.Animating.VertexAnimationTrack

Наследование: AnimationTrack
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
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