A deterministic discretized animation curve. Values between keyframes are interpolated linearly. More...
Classes | |
struct | Keyframe |
Only used to recreate the curve in the Unity Editor. More... | |
Public Types | |
enum | WrapMode |
The warp mode describes how the curve behaves outside of the defined time range. More... | |
Public Member Functions | |
FP | Evaluate (FP time) |
Return the curve value at a given time. More... | |
Public Attributes | |
FP | EndTime |
The end time. More... | |
Keyframe[] | Keys |
int | OriginalPostWrapMode |
The original PostWrapMode, used to migrate Unity versions. More... | |
int | OriginalPreWrapMode |
The original PreWrapMode, used to migrate Unity versions. More... | |
int | PostWrapMode |
The wrap mode right of the last keyframe. More... | |
int | PreWrapMode |
The wrap mode left of the first keyframe. More... | |
int | Resolution |
The number of discrete curve samples. More... | |
FP[] | Samples |
The discrete samples. More... | |
FP | StartTime |
The start time. More... | |
A deterministic discretized animation curve. Values between keyframes are interpolated linearly.
|
strong |
Return the curve value at a given time.
time | Time to query |
FP [] Quantum.FPAnimationCurve.Samples |
The discrete samples.
int Quantum.FPAnimationCurve.PreWrapMode |
The wrap mode left of the first keyframe.
int Quantum.FPAnimationCurve.PostWrapMode |
The wrap mode right of the last keyframe.
FP Quantum.FPAnimationCurve.StartTime |
The start time.
FP Quantum.FPAnimationCurve.EndTime |
The end time.
int Quantum.FPAnimationCurve.Resolution |
The number of discrete curve samples.
int Quantum.FPAnimationCurve.OriginalPreWrapMode |
The original PreWrapMode, used to migrate Unity versions.
int Quantum.FPAnimationCurve.OriginalPostWrapMode |
The original PostWrapMode, used to migrate Unity versions.
Keyframe [] Quantum.FPAnimationCurve.Keys |