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(Dictionary<string, ShapeElement>)
Resolves the keyframe animation for which elements are important.
public void Resolve(Dictionary<string, ShapeElement> allElements)
Parameters
allElements
Dictionary<string, ShapeElement>
Resolve(ShapeElement[])
Resolves the keyframe animation for which elements are important.
[Obsolete("Use the overload taking a Dictionary argument instead for higher performance on large sets")]
public void Resolve(ShapeElement[] allElements)
Parameters
allElements
ShapeElement[]