startTransition
Starts a transition for the camera.
note
This method is only available in global
mode.
Syntax
player.camera.startTransition(transition);
Parameters
Name | Type | Description |
---|---|---|
transition | CameraTransition | The transition to start. |
Example
player.camera.startTransition({
from: [0, 5, 10],
to: [0, 5, 15],
duration: 500,
});
Available on: Client Server