Function: SampleAnimationCurve()
ts
function SampleAnimationCurve(curve, time): AnimationValue | undefined;Curve value at time, holding the first / last key outside the keyed range. Undefined for a curve with no keys.
Parameters
| Parameter | Type |
|---|---|
curve | AnimationCurve |
time | number |
Returns
AnimationValue | undefined