Savable Curve
📈 SavableCurve Struct
A savable version of an AnimationCurve
.
Namespace:
Esper.Inventool.DataManagement
Access:public
Type:struct
Attributes:[Serializable]
📦 Fields
public
keys
List<SavableKeyframe>
The list of savable keyframes.
🔧 Constructors
public
SavableCurve(AnimationCurve curve)
Creates a savable curve from an AnimationCurve
.
🧰 Methods
public
ToCurve()
AnimationCurve
Converts this SavableCurve
back into an AnimationCurve
.
🧩 Nested Structs
public struct SavableKeyframe
public struct SavableKeyframe
A savable version of an AnimationCurve
keyframe.
public
time
float
The time of the keyframe.
public
value
float
The value of the keyframe.
public
inTangent
float
The incoming tangent of the keyframe.
public
outTangent
float
The outgoing tangent of the keyframe.
Constructors
public
SavableKeyframe(Keyframe key)
Creates a savable keyframe from a Unity Keyframe
.
Methods
public
ToKeyframe()
Keyframe
Converts this SavableKeyframe
back into a Unity Keyframe
.
Last updated