hue.setCurrent()

Description

Specifies the camera's hue setting for the current camera.

Syntax

DCSObject.camera.hue.setCurrent(hue);

Parameters

<long> hue: Specifies the hue, in degrees * 100. Values range from -180,000 to 180,000 (-180 to +180 degrees).

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.hue.getMax();
             DCSObject.camera.hue.getMin();
             DCSObject.camera.hue.setCurrent(10);  // Specifies the camera’s hue setting for the current camera.
      

See also

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