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
Properties
Animation
public Animation Animation { 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
Weights
public IList<float> Weights { get; }
Property Value
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)