Description
Specifies whether to set the gamma automatically.
Syntax
DCSObject.camera.gamma.setIfAuto(auto);
Parameters
<bool>
auto
: Specifies whether the setting is controlled manually or automatically.
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.gamma.setIfAuto(true);
See also
.camera.gamma.setCurrent()
.camera.gamma.getCurrent()
.camera.gamma.getDefault()
.camera.gamma.getMin()
.camera.gamma.getMax()
.camera.gamma.getIfAuto()
.camera.gamma.getIfDefaultAuto()