Table of Contents

Class AnimationFrame

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
public class AnimationFrame
Inheritance
AnimationFrame
Inherited Members
Extension Methods

Fields

FrameNumber

The frame number.

public int FrameNumber

Field Value

int

RootElementTransforms

The transformations for the root element of the frame.

public List<ElementPose> RootElementTransforms

Field Value

List<ElementPose>

Methods

FinalizeMatrices(Dictionary<int, AnimationJoint>)

Finalizes the matricies with joints assigned by their ID.

[Obsolete("Does nothing in 1.20.11 - actually it had no useful effect even before 1.20")]
public void FinalizeMatrices(Dictionary<int, AnimationJoint> jointsById)

Parameters

jointsById Dictionary<int, AnimationJoint>

SetTransform(int, float[])

Sets the transform of a particular joint ID.

[Obsolete("Does nothing in 1.20.11 - actually it had no useful effect even before 1.20")]
public void SetTransform(int jointId, float[] modelTransform)

Parameters

jointId int
modelTransform float[]