Table of Contents

Class AnimationKeyFrame

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll
[JsonObject(MemberSerialization.OptIn)]
public class AnimationKeyFrame
Inheritance
AnimationKeyFrame
Inherited Members

Fields

Elements

The elements of the keyframe.

[JsonProperty]
public Dictionary<string, AnimationKeyFrameElement> Elements

Field Value

Dictionary<string, AnimationKeyFrameElement>

Frame

The ID of the keyframe.

[JsonProperty]
public int Frame

Field Value

int

Methods

Clone()

public AnimationKeyFrame Clone()

Returns

AnimationKeyFrame

Resolve(ShapeElement[])

Resolves the keyframe animation for which elements are important.

public void Resolve(ShapeElement[] allElements)

Parameters

allElements ShapeElement[]