gamma.getCurrent()

Description

Gets the current gamma setting for the current camera.

Syntax

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

See also

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