Class · inherits Instance
EulerRotationCurve
Represents a 3D rotation curve through a group of three
FloatCurves.
About EulerRotationCurve
A EulerRotationCurve represents a 3D rotation curve through a group of
three FloatCurves. The rotation is decomposed in three
Euler angles channels that can be accessed via EulerRotationCurve.X,
EulerRotationCurve.Y, and EulerRotationCurve.Z. The three
axes can be sampled simultaneously via
EulerRotationCurve.GetAnglesAtTime, returning the three Euler angles
as a Vector3. Similarly,
EulerRotationCurve.GetRotationAtTime samples all channels
simultaneously but returns a CFrame rotated by X, Y, and Z
according to the specified rotation order.
Properties 1
RotationOrder
: RotationOrderEuler angles rotation order.Euler angles rotation order
Methods 5
GetAnglesAtTime
(time: float) → ArraySamples the threeFloatCurves(X,Y,Z) at the passedtimeargument and returns the result as three Euler angles.Samples the three
FloatCurves(X,Y,Z) at the passedtimeargument and returns the result as three Euler angles. If a channel curve is missing or no key is found in the curve, the channel is evaluated asnil.GetRotationAtTime
(time: float) → CFrameSamples theEulerRotationCurveat a giventimeand returns the corresponding rotation.Samples the
EulerRotationCurveat a giventimeand returns the corresponding rotation. Empty Euler angles channels are interpreted as zero.X
() → FloatCurveReturns theFloatCurvecontrolling theXEuler angle channel.Returns the
FloatCurvecontrolling theXEuler angle channel. It is the first child instance of typeFloatCurvenamedX. If none is found, an emptyFloatCurveis created.Y
() → FloatCurveReturns theFloatCurvecontrolling theYEuler angle channel.Returns the
FloatCurvecontrolling theYEuler angle channel. It is the first child instance of typeFloatCurvenamedY. If none is found, an emptyFloatCurveis created.Z
() → FloatCurveReturns theFloatCurvecontrolling theZEuler angle channel.Returns the
FloatCurvecontrolling theZEuler angle channel. It is the first child instance of typeFloatCurvenamedZ. If none is found, an emptyFloatCurveis created.
EulerRotationCurve also has every member of Instance. Deprecated and Roblox-only members are hidden.
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.