Table of Contents

Class KeyFrameUpdater

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

Constructors

KeyFrameUpdater(Animation, IList<Bone>)

Initializes a new instance of the KeyFrameUpdater class.

public KeyFrameUpdater(Animation animation, IList<Bone> bones)

Parameters

animation Animation

The animation.

bones IList<Bone>

The bones.

Properties

Animation

public Animation Animation { get; }

Property Value

Animation

Bones

public IList<Bone> Bones { get; }

Property Value

IList<Bone>

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

Methods

Reset()

Resets this animation.

public void Reset()

Update(float, long)

Updates the animation by specified time stamp (ticks) and frequency (ticks per second).

public void Update(float timeStamp, long frequency)

Parameters

timeStamp float

The time stamp (ticks).

frequency long

The frequency (ticks per second).