Share via


INuiColorCameraSettings::GetBacklightCompensationMode Method

Kinect for Windows 1.6, 1.7, 1.8

Gets the backup lighting compensation mode. The value is one of the values in NUI_BACKLIGHT_COMPENSATION_MODE enumeration; the default value is NUI_BACKLIGHT_COMPENSATION_MODE_AVERAGE_BRIGHTNESS.

Syntax

public:
HRESULT GetBacklightCompensationMode(
         NUI_BACKLIGHT_COMPENSATION_MODE *pBacklightCompensationMode
)

Parameters

  • pBacklightCompensationMode
    Type: NUI_BACKLIGHT_COMPENSATION_MODE
    The compensation mode.

Return Value

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

Requirements

Header: Declared in nuisensor.h.