Table of Contents

Class AnimationKeyFrameElement

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

Fields

ForElement

public ShapeElement ForElement

Field Value

ShapeElement

Properties

AnySet

public bool AnySet { get; }

Property Value

bool

OffsetTangentInX

Cubic Hermite tangent for bezier interpolation, in value-per-segment-t. Null = 0 (smoothstep when both endpoints are 0).

[JsonProperty]
public float? OffsetTangentInX { get; set; }

Property Value

float?

OffsetTangentInY

[JsonProperty]
public float? OffsetTangentInY { get; set; }

Property Value

float?

OffsetTangentInZ

[JsonProperty]
public float? OffsetTangentInZ { get; set; }

Property Value

float?

OffsetTangentOutX

[JsonProperty]
public float? OffsetTangentOutX { get; set; }

Property Value

float?

OffsetTangentOutY

[JsonProperty]
public float? OffsetTangentOutY { get; set; }

Property Value

float?

OffsetTangentOutZ

[JsonProperty]
public float? OffsetTangentOutZ { get; set; }

Property Value

float?

OffsetX

[JsonProperty]
public float? OffsetX { get; set; }

Property Value

float?

OffsetY

[JsonProperty]
public float? OffsetY { get; set; }

Property Value

float?

OffsetZ

[JsonProperty]
public float? OffsetZ { get; set; }

Property Value

float?

OriginSet

public bool OriginSet { get; }

Property Value

bool

OriginX

[JsonProperty]
public float? OriginX { get; set; }

Property Value

float?

OriginY

[JsonProperty]
public float? OriginY { get; set; }

Property Value

float?

OriginZ

[JsonProperty]
public float? OriginZ { get; set; }

Property Value

float?

PositionInterp

Interpolation mode for the position channel's curve outgoing from this keyframe.

[JsonProperty]
public EnumKeyFrameInterpolation PositionInterp { get; set; }

Property Value

EnumKeyFrameInterpolation

PositionSet

public bool PositionSet { get; }

Property Value

bool

RotShortestDistanceX

[JsonProperty]
public bool RotShortestDistanceX { get; set; }

Property Value

bool

RotShortestDistanceY

[JsonProperty]
public bool RotShortestDistanceY { get; set; }

Property Value

bool

RotShortestDistanceZ

[JsonProperty]
public bool RotShortestDistanceZ { get; set; }

Property Value

bool

RotationInterp

Interpolation mode for the rotation channel's curve outgoing from this keyframe.

[JsonProperty]
public EnumKeyFrameInterpolation RotationInterp { get; set; }

Property Value

EnumKeyFrameInterpolation

RotationSet

public bool RotationSet { get; }

Property Value

bool

RotationTangentInX

[JsonProperty]
public float? RotationTangentInX { get; set; }

Property Value

float?

RotationTangentInY

[JsonProperty]
public float? RotationTangentInY { get; set; }

Property Value

float?

RotationTangentInZ

[JsonProperty]
public float? RotationTangentInZ { get; set; }

Property Value

float?

RotationTangentOutX

[JsonProperty]
public float? RotationTangentOutX { get; set; }

Property Value

float?

RotationTangentOutY

[JsonProperty]
public float? RotationTangentOutY { get; set; }

Property Value

float?

RotationTangentOutZ

[JsonProperty]
public float? RotationTangentOutZ { get; set; }

Property Value

float?

RotationX

[JsonProperty]
public float? RotationX { get; set; }

Property Value

float?

RotationY

[JsonProperty]
public float? RotationY { get; set; }

Property Value

float?

RotationZ

[JsonProperty]
public float? RotationZ { get; set; }

Property Value

float?

ScaleInterp

Interpolation mode for the scale channel's curve outgoing from this keyframe.

[JsonProperty]
public EnumKeyFrameInterpolation ScaleInterp { get; set; }

Property Value

EnumKeyFrameInterpolation

StretchSet

public bool StretchSet { get; }

Property Value

bool

StretchTangentInX

[JsonProperty]
public float? StretchTangentInX { get; set; }

Property Value

float?

StretchTangentInY

[JsonProperty]
public float? StretchTangentInY { get; set; }

Property Value

float?

StretchTangentInZ

[JsonProperty]
public float? StretchTangentInZ { get; set; }

Property Value

float?

StretchTangentOutX

[JsonProperty]
public float? StretchTangentOutX { get; set; }

Property Value

float?

StretchTangentOutY

[JsonProperty]
public float? StretchTangentOutY { get; set; }

Property Value

float?

StretchTangentOutZ

[JsonProperty]
public float? StretchTangentOutZ { get; set; }

Property Value

float?

StretchX

[JsonProperty]
public float? StretchX { get; set; }

Property Value

float?

StretchY

[JsonProperty]
public float? StretchY { get; set; }

Property Value

float?

StretchZ

[JsonProperty]
public float? StretchZ { get; set; }

Property Value

float?