Class: NumericSpline
components.NumericSpline
Represents a spline that can take numeric values.
Hierarchy#
Spline<number>↳
NumericSpline
Constructors#
constructor#
• new NumericSpline(...keys)
Creates a new spline instance, using the specified keys. Note that you have to pass at least one key.
Parameters#
| Name | Type |
|---|---|
...keys | SplineKey<number>[] |
Inherited from#
Spline<number>.constructor
Defined in#
Methods#
evaluate#
â–¸ evaluate(time): number
Evaluates the spline at the given time.
Parameters#
| Name | Type |
|---|---|
time | number |
Returns#
number
Inherited from#
Spline.evaluate