Table of Contents

Class MorphTargetKeyFrameUpdater

Namespace
HelixToolkit.SharpDX.Animations
Assembly
HelixToolkit.SharpDX.dll
public class MorphTargetKeyFrameUpdater : IAnimationUpdater
Inheritance
MorphTargetKeyFrameUpdater
Implements
Inherited Members

Constructors

MorphTargetKeyFrameUpdater(Animation, IList<float>)

public MorphTargetKeyFrameUpdater(Animation animation, IList<float> weights)

Parameters

animation Animation
weights IList<float>

Properties

Animation

public Animation Animation { get; }

Property Value

Animation

EndTime

End time for the animation.

public float EndTime { get; }

Property Value

float

Name

Gets or sets the name.

public string Name { get; set; }

Property Value

string

The name.

RepeatMode

Gets or sets the repeat mode.

public AnimationRepeatMode RepeatMode { get; set; }

Property Value

AnimationRepeatMode

The repeat mode.

StartTime

Start time for the animation, usually it is 0.

public float StartTime { get; }

Property Value

float

Weights

public IList<float> Weights { get; }

Property Value

IList<float>

Methods

Reset()

Resets this animation.

public void Reset()

Update(float, long)

Updates the animation with a time stamp.

public void Update(float timeStamp, long frequency)

Parameters

timeStamp float

The time stamp.

frequency long

The frequency. If time stamp is second based, frequency is 1.