Camera¶
Overview¶
The Camera table provides access to a game world's active camera.
Functions¶
IsAvailable¶
Returns whether camera information is currently available.
| Returns | Description |
|---|---|
| Boolean | Whether camera information is available to read from. |
GetPosition¶
Returns the current position of the game world's camera.
The return value will be {0, 0, 0} if the camera is unavailable.
| Returns | Description |
|---|---|
| Vector3 | The position of the camera, in fine units. |
GetFocusPosition¶
Returns the current focus position of the game world's camera. This is typically the waist position of the Player Character during normal gameplay.
The return value will be {0, 0, 0} if the camera is unavailable.
| Returns | Description |
|---|---|
| Vector3 | The focus position of the camera, in fine units. |