Share via


INuiColorCameraSettings::GetGamma Method

Kinect for Windows 1.6, 1.7, 1.8

Gets 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 GetGamma(
         double *pGamma
)

Parameters

  • pGamma
    Type: double
    The gamma.

Return Value

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

Requirements

Header: Declared in nuisensor.h.