flywave-map-controls.cameraanimation.start
Home > @flywave/flywave-map-controls > CameraAnimation > start
CameraAnimation.start() method
Start the animation.
Signature:
abstract start(time?: number, onFinished?: () => void): void;
Parameters
Parameter | Type | Description |
|---|---|---|
time | number | (Optional) Duration of the animation in milliseconds. |
onFinished | () => void | (Optional) Callback that gets triggered once the animation ends. |
Returns:
void