setMode
Sets the camera mode for the player.
Syntax
player.camera.setMode(mode);
Parameters
Name | Type | Description |
---|---|---|
mode | CameraMode | The camera mode to set. |
Example
player.camera.setMode('global');
Available on: Client Server
Sets the camera mode for the player.
player.camera.setMode(mode);
Name | Type | Description |
---|---|---|
mode | CameraMode | The camera mode to set. |
player.camera.setMode('global');
Available on: Client Server