Class · inherits Instance
Vector3Curve
Represents a 3D vector curve, grouping three FloatCurve instances.
About Vector3Curve
Represents a 3D vector curve, grouping three FloatCurve instances.
Each child FloatCurve can be accessed via the
Vector3Curve.X, Vector3Curve.Y, and
Vector3Curve.Z methods. The three axes can be sampled simultaneously
via the method Vector3Curve.GetValueAtTime.
Methods 4
GetValueAtTime
(time: float) → ArrayReturns the threeFloatCurves(X, Y, Z) at the passed time argument.Returns the three
FloatCurves(X, Y, Z) at the passed time argument as an array of three numbers. If a channel curve is missing or no key is found in the curve, the channel is evaluated asnil.X
() → FloatCurveReturns theFloatCurvecontrolling the X channel (the first child instance of typeFloatCurvenamedX).Returns the
FloatCurvecontrolling the X channel (the first child instance of typeFloatCurvenamedX). If none is found, an emptyFloatCurveis created.Y
() → FloatCurveReturns theFloatCurvecontrolling the Y channel (the first child instance of typeFloatCurvenamedY).Returns the
FloatCurvecontrolling the Y channel (the first child instance of typeFloatCurvenamedY). If none is found, an emptyFloatCurveis created.Z
() → FloatCurveReturns theFloatCurvecontrolling the Z channel (the first child instance of typeFloatCurvenamedZ).Returns the
FloatCurvecontrolling the Z channel (the first child instance of typeFloatCurvenamedZ). If none is found, an emptyFloatCurveis created.
Vector3Curve 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.