roll.getCurrent()

Description

Gets the current roll setting for the current camera.

Syntax

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

See also

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