Share via


INuiColorCameraSettings::SetGamma Method

Kinect for Windows 1.6, 1.7, 1.8

Sets gamma, which is a nonlinear operation for coding luminance data. The range is [1.0, 2.8]; the default value is 2.2.

Syntax

public:
HRESULT SetGamma(
         double Gamma
)

Parameters

  • Gamma
    Type: double
    Gamma value.

Return Value

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

Requirements

Header: Declared in nuisensor.h.