pan.getCurrent()

Description

Gets the current pan setting for the current camera.

Syntax

DCSObject.camera.pan.getCurrent();

Parameters

None

Return value

long

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.pan.getCurrent();  // Get the pan setting for the current camera.
      

See also

.camera.pan.setCurrent()
.camera.pan.getDefault()
.camera.pan.getMin()
.camera.pan.getMax()

Is this page helpful?

Leave a Reply

Your email address will not be published.