new RotationAnimator(curve, scale)
Animates a particle's rotation.
Parameters:
| Name | Type | Description |
|---|---|---|
curve |
AnimationCurve | The curve the defines the animation. |
scale |
Number | A scalar by which to multiply the curve. |