Share via


INuiColorCameraSettings::SetWhiteBalance Method

Kinect for Windows 1.6, 1.7, 1.8

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

Syntax

public:
HRESULT SetWhiteBalance(
         LONG WhiteBalance
)

Parameters

  • WhiteBalance
    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.