whiteBalanceTemperature.setCurrent()

Description

Specifies the camera's white balance temperature setting for the current camera.

Syntax

DCSObject.camera.whiteBalanceTemperature.setCurrent(whiteBalanceTemperature);

Parameters

<long> whiteBalanceTemperature: Specifies the white balance, as a color temperature in degrees Kelvin. The range of values depends on the device.

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.whiteBalanceTemperature.setCurrent(3000);  // Specifies the camera’s white balance temperature setting.
      

See also

.camera.whiteBalanceTemperature.getCurrent()
.camera.whiteBalanceTemperature.getDefault()
.camera.whiteBalanceTemperature.getMin()
.camera.whiteBalanceTemperature.getMax()
.camera.whiteBalanceTemperature.getIfAuto()
.camera.whiteBalanceTemperature.setIfAuto()
.camera.whiteBalanceTemperature.getIfDefaultAuto()