Share via


INuiColorCameraSettings::GetAutoWhiteBalance Method

Kinect for Windows 1.6, 1.7, 1.8

Gets 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 GetAutoWhiteBalance(
         BOOL *pAutoWhiteBalanceEnabled
)

Parameters

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