Share via


INuiColorCameraSettings::SetAutoWhiteBalance Method

Kinect for Windows 1.6, 1.7, 1.8

Sets a boolean that determines if automatic white balance is enabled. The values are TRUE (enable) and FALSE (disable); the default value is TRUE.

Syntax

public:
HRESULT SetAutoWhiteBalance(
         BOOL AutoWhiteBalanceEnabled
)

Parameters

  • AutoWhiteBalanceEnabled
    Type: BOOL
    TRUE if automatic white balance is enabled; false otherwise.

Return Value

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

Requirements

Header: Declared in nuisensor.h.