Share via


INuiColorCameraSettings::GetWhiteBalance Method

Kinect for Windows 1.6, 1.7, 1.8

Gets the white balance, which is a color temperature in degrees Kelvin. The range is [2700, 6500]; the default value is 2700.

Syntax

public:
HRESULT GetWhiteBalance(
         LONG *pWhiteBalance
)

Parameters

  • pWhiteBalance
    Type: LONG
    The white balance.

Return Value

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

Requirements

Header: Declared in nuisensor.h.