Share via


INuiColorCameraSettings::GetGain Method

Kinect for Windows 1.6, 1.7, 1.8

Gets 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 GetGain(
         double *pGain
)

Parameters

  • pGain
    Type: double
    The gain.

Return Value

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

Requirements

Header: Declared in nuisensor.h.