Table of Contents

Enum EnumKeyFrameInterpolation

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

Per-channel interpolation mode for the curve outgoing from a keyframe to the next one. Open in GitHub

public enum EnumKeyFrameInterpolation
Extension Methods

Fields

Bezier = 1

Cubic Hermite curve using this keyframe's out-tangent and the next keyframe's in-tangent. With both tangents at 0 the curve collapses to a smoothstep S-curve.

Linear = 0

Linear blend between this keyframe's value and the next. Legacy default.

Step = 2

Hold this keyframe's value until the next keyframe is reached.