Class RunningAnimation
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
public class RunningAnimation
- Inheritance
-
RunningAnimation
- Inherited Members
- Extension Methods
Fields
Active
public bool Active
Field Value
Animation
public Animation Animation
Field Value
BlendedWeight
public float BlendedWeight
Field Value
CurrentFrame
public float CurrentFrame
Field Value
EasingFactor
public float EasingFactor
Field Value
ElementWeights
public ShapeElementWeights[] ElementWeights
Field Value
Iterations
public int Iterations
Field Value
Running
public bool Running
Field Value
ShouldPlayTillEnd
public bool ShouldPlayTillEnd
Field Value
ShouldRewind
public bool ShouldRewind
Field Value
SoundPlayedAtIteration
public int SoundPlayedAtIteration
Field Value
meta
public AnimationMetaData meta
Field Value
Properties
AnimProgress
Between 0 and 1
public float AnimProgress { get; }
Property Value
Methods
EaseOut(float)
public void EaseOut(float dt)
Parameters
dt
float
LoadWeights(ShapeElement[])
public void LoadWeights(ShapeElement[] rootElements)
Parameters
rootElements
ShapeElement[]
Progress(float, float)
public void Progress(float dt, float walkspeed)
Parameters
Stop()
public void Stop()