FloatCurve
Show Deprecated
An instance representing a 1D float curve encoded via a sorted list of FloatCurveKeys. The shape of the interpolation curve between two keys is determined by the FloatCurveKey.Interpolation type.
Summary
Properties
Number of keys in the float curve.
Methods
Returns a copy of a key at a given index.
Returns the index of the last and first key of a period of time.
Returns a copy of all the keys in the FloatCurve as a Luau array of FloatCurveKeys.
Samples the float curve at a given time passed as argument.
Adds the key passed as an argument to this curve. If a key at the same time is found, it will be replaced.
Removes a given number of keys starting from a given index.
Resets this curve's keys using the FloatCurveKey array passed as an argument.