SetCameraProperties
Sets the properties of a CameraToy.
Syntax
SetCameraProperties *camera_reference "label"? up_constraint? down_constraint? left_constraint? right_constraint? minimal_zoom? maximal_zoom?
Arguments
| Name | Required | Type | Description |
|---|---|---|---|
camera reference | Yes | a reference to CameraToy object. | |
label | No | Any text e.g. "Hello, World!" | Default: not changing |
up constraint | No | A number between -180 and 180 (inclusive) | Default: not changing |
down constraint | No | A number between -180 and 180 (inclusive) | Default: not changing |
left constraint | No | A number between -180 and 180 (inclusive) | Default: not changing |
right constraint | No | A number between -180 and 180 (inclusive) | Default: not changing |
minimal zoom | No | A number between 0 and 1 (inclusive) | Default: not changing |
maximal zoom | No | A number between 0 and 1 (inclusive) | Default: not changing |
Possible errors
- up constraint has to be lower or equal to down constraint
- left constraint has to be lower or equal to right constraint
- minimal zoom has to be lower or equal to maximal zoom
On a running server
Use serhelp SetCameraProperties to inspect the reference generated by your installed SER version.