Table of Contents

Enum Animation.InterpolationType

Namespace
Godot
Assembly
GodotSharp.dll
public enum Animation.InterpolationType : long

Fields

Cubic = 2

Cubic interpolation. This looks smoother than linear interpolation, but is more expensive to interpolate. Stick to Linear for complex 3D animations imported from external software, even if it requires using a higher animation framerate in return.

CubicAngle = 4

Cubic interpolation with shortest path rotation.

Note: The result value is always normalized and may not match the key value.

Linear = 1

Linear interpolation.

LinearAngle = 3

Linear interpolation with shortest path rotation.

Note: The result value is always normalized and may not match the key value.

Nearest = 0

No interpolation (nearest value).