flywave-map-controls.camerapananimation.start
Home > @flywave/flywave-map-controls > CameraPanAnimation > start
CameraPanAnimation.start() method
Start the animation.
Signature:
/** @override */
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