brightness.getCurrent()

Description

Gets the current brightness setting for the current camera.

Syntax

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

See also

.camera.brightness.setCurrent()
.camera.brightness.getDefault()
.camera.brightness.getMin()
.camera.brightness.getMax()
.camera.brightness.getIfAuto()
.camera.brightness.setIfAuto()
.camera.brightness.getIfDefaultAuto()