sharpness.setCurrent()

Description

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

Syntax

DCSObject.camera.sharpness.setCurrent(sharpness);

Parameters

<long> sharpness: Specifies the sharpness. Values range from 0 to 100.

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

See also

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