Skip to main content

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

NameRequiredTypeDescription
camera referenceYesa reference to CameraToy object.
labelNoAny text e.g. "Hello, World!"Default: not changing
up constraintNoA number between -180 and 180 (inclusive)Default: not changing
down constraintNoA number between -180 and 180 (inclusive)Default: not changing
left constraintNoA number between -180 and 180 (inclusive)Default: not changing
right constraintNoA number between -180 and 180 (inclusive)Default: not changing
minimal zoomNoA number between 0 and 1 (inclusive)Default: not changing
maximal zoomNoA 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.