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
Properties
Animation
public Animation Animation { get; }
Property Value
Bones
public IList<Bone> Bones { get; }
Property Value
EndTime
End time for the animation.
public float EndTime { get; }
Property Value
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
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)