ProtectedconstructorOptionalisInternalConstructor: booleanStaticcalculateCalculates the total range covered by a set of curves.
Curves to calculate range for.
StaticcombineCombines two single component curves into a Vector2 curve.
StaticcombineCombines three single component curves into a Vector3 curve.
StaticeulerConverts a curve in euler angles (in degrees) into a curve using quaternions without proper euler tangent handling.
Optionalorder: EnumValue<EulerAngleOrder, number>StaticeulerConverts a curve in euler angles (in degrees) into a curve using quaternions without proper euler tangent handling.
Optionalorder: EnumValue<EulerAngleOrder, number>StaticeulerConverts a curve in euler angles (in degrees) into a curve using quaternions by sampling the euler curve in order to mimic the euler tangents.
The curve to be converted.
Optionalfactor: numberA quality factor in the range of (1, inf) (technically, it can get to infinity, but in practice smaller values up to 5 are the norm) where 1 means perfect curve matching (although it is not a valid number, it must be higher than 1) but many keyframes will be generated, while increasing this value will reduce the quality for a reduction in keyframe counts. The good general range is between [1.25 - 1.75].
Optionalorder: EnumValue<EulerAngleOrder, number>The order in which the euler angles are provided.
The converted quaternion curve with the extra intermediary keyframes added.
StaticeulerConverts a curve in euler angles (in degrees) into a curve using quaternions by sampling the euler curve in order to mimic the euler tangents.
The curve to be converted.
Optionalfactor: numberA quality factor in the range of (1, inf) (technically, it can get to infinity, but in practice smaller values up to 5 are the norm) where 1 means perfect curve matching (although it is not a valid number, it must be higher than 1) but many keyframes will be generated, while increasing this value will reduce the quality for a reduction in keyframe counts. The good general range is between [1.25 - 1.75].
Optionalorder: EnumValue<EulerAngleOrder, number>The order in which the euler angles are provided.
The converted quaternion curve with the extra intermediary keyframes added.
StaticquaternionConverts a curve in quaternions into a curve using euler angles (in degrees).
StaticquaternionConverts a curve in quaternions into a curve using euler angles (in degrees).
StaticsplitSplits a Vector2 curve into two individual curves, one for each component.
StaticsplitSplits a Vector3 curve into three individual curves, one for each component.
StatictransformGiven a 3D transform, it will decompose it and modifies the transform curves (translation, rotation, scale) appropriately to include the transform.
True if the operation was performed, else false (one of the curves is invalid).
StatictransformGiven a 3D transform, it will decompose it and modifies the transform curves (translation, rotation, scale) appropriately to include the transform. The default parameters are used by the function to default one of the transform components in case that component is missing (i.e. if the scale Y component is missing, the transform function will use the defaultScale.Y in that channel instead).
True if the operation was performed, else false (one of the curves is invalid).
Helper class for dealing with animations, animation clips and curves.