Table of Contents

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

bool

Animation

public Animation Animation

Field Value

Animation

BlendedWeight

public float BlendedWeight

Field Value

float

CurrentFrame

public float CurrentFrame

Field Value

float

EasingFactor

public float EasingFactor

Field Value

float

ElementWeights

public ShapeElementWeights[] ElementWeights

Field Value

ShapeElementWeights[]

Iterations

public int Iterations

Field Value

int

Running

public bool Running

Field Value

bool

ShouldPlayTillEnd

public bool ShouldPlayTillEnd

Field Value

bool

ShouldRewind

public bool ShouldRewind

Field Value

bool

SoundPlayedAtIteration

public int SoundPlayedAtIteration

Field Value

int

meta

public AnimationMetaData meta

Field Value

AnimationMetaData

Properties

AnimProgress

Between 0 and 1

public float AnimProgress { get; }

Property Value

float

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

dt float
walkspeed float

Stop()

public void Stop()