Share via


INuiColorCameraSettings::SetGain Method

Kinect for Windows 1.6, 1.7, 1.8

Sets the gain, which is a multiplier for the RGB color values. The range is [1.0, 16.0]; the default value is 1.0.

Syntax

public:
HRESULT SetGain(
         double Gain
)

Parameters

  • Gain
    Type: double
    The gain.

Return Value

Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.

Requirements

Header: Declared in nuisensor.h.