Share via


INuiColorCameraSettings::SetBacklightCompensationMode Method

Kinect for Windows 1.6, 1.7, 1.8

Sets the backlight 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 SetBacklightCompensationMode(
         NUI_BACKLIGHT_COMPENSATION_MODE BacklightCompensationMode
)

Parameters

  • BacklightCompensationMode
    Type: NUI_BACKLIGHT_COMPENSATION_MODE
    The backlight compensation mode.

Return Value

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

Requirements

Header: Declared in nuisensor.h.