Enum AnimationInputSettings.CurveSimplificationOptions
Available options for animation curve data compression.
Namespace: UnityEditor.Recorder.Input
Syntax
public enum CurveSimplificationOptions : int
Fields
Name | Description | Value |
---|---|---|
Disabled | No compression. The Recorder saves all animation keys throughout the recording, even when the animation curve is a straight line. This might result in large files and slow playback. |
|
Lossless | Keyframe reduction of constant curves. The Recorder removes all unnecessary keys when the animation curve is a straight line, but keeps all recorded keys as long as the animation is not constant. |
|
Lossy | Overall keyframe reduction. The Recorder removes animation keys based on a relative tolerance of 0.5 percent, to overall simplify the curve. This reduces the file size but directly affects the original curve accuracy. |