tilt.setCurrent()

Description

Specifies the camera's tilt setting for the current camera.

Syntax

DCSObject.camera.tilt.setCurrent(tilt);

Parameters

<long> tilt: Specifies the camera’s tilt setting, in degrees. Values range from –180 to +180, or a subset thereof, with the default set to zero. Positive values point the imaging plane up, and negative values point the imaging plane down.

Return value

bool

true indicates success. false indicates failure.

Remarks

The method should be called after camera.selectCamera(). If there is only one data source available, it will be selected automatically.

Example

             DCSObject.camera.selectCamera("Integrated Camera");
             DCSObject.camera.tilt.setCurrent(10);  // Specifies the camera’s tilt setting for the current camera.
      

See also

.camera.tilt.getCurrent()
.camera.tilt.getDefault()
.camera.tilt.getMin()
.camera.tilt.getMax()

Is this page helpful?

Leave a Reply

Your email address will not be published.