struct
AnimationCurves
Inherits:
IScriptExportable
A set of animation curves representing translation/rotation/scale and generic animation.
Public
Constructors
AnimationCurves
AnimationCurves() = default
Methods
AddPositionCurve
Registers a new curve used for animating position.
- name
- Unique name of the curve. This name will be used mapping the curve to the relevant bone in a skeleton, if any.
- curve
- Curve to add to the clip.
AddRotationCurve
Registers a new curve used for animating rotation.
- name
- Unique name of the curve. This name will be used mapping the curve to the relevant bone in a skeleton, if any.
- curve
- Curve to add to the clip.
AddScaleCurve
Registers a new curve used for animating scale.
- name
- Unique name of the curve. This name will be used mapping the curve to the relevant bone in a skeleton, if any.
- curve
- Curve to add to the clip.
AddGenericCurve
Registers a new curve used for generic animation.
- name
- Unique name of the curve. This can be used for retrieving the value of the curve from animation.
- curve
- Curve to add to the clip.
RemovePositionCurve
void RemovePositionCurve(const String &name)
Removes an existing curve from the clip.
RemoveRotationCurve
void RemoveRotationCurve(const String &name)
Removes an existing curve from the clip.
RemoveScaleCurve
void RemoveScaleCurve(const String &name)
Removes an existing curve from the clip.
RemoveGenericCurve
void RemoveGenericCurve(const String &name)
Removes an existing curve from the clip.
Fields
Position
Vector<TNamedAnimationCurve<Vector3>> Position
Curves for animating scene object's position.
Rotation
Vector<TNamedAnimationCurve<Quaternion>> Rotation
Curves for animating scene object's rotation.
Generic
Vector<TNamedAnimationCurve<float>> Generic
Curves for animating generic component properties.