Class AnimationKeyFrame
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
[JsonObject(MemberSerialization.OptIn)]
public class AnimationKeyFrame
- Inheritance
-
AnimationKeyFrame
- Inherited Members
- Extension Methods
Fields
Elements
The elements of the keyframe.
[JsonProperty]
public Dictionary<string, AnimationKeyFrameElement> Elements
Field Value
Frame
The ID of the keyframe.
[JsonProperty]
public int Frame
Field Value
Methods
Clone()
public AnimationKeyFrame Clone()
Returns
Resolve(ShapeElement[])
Resolves the keyframe animation for which elements are important.
public void Resolve(ShapeElement[] allElements)
Parameters
allElements
ShapeElement[]