setAnimator Method
Set or clear the animator for this Viewport.
setAnimator(animator?: Animator): void
@note  current animator's interrupt method will be called (if it has not completed yet)
| Parameter | Type | Description | 
|---|---|---|
| animator | Animator | The new animator for this Viewport, or undefined to remove current animator. | 
Returns - void
Defined in
Last Updated: 24 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.