Share via


NuiDepthPixelToPlayerIndex

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Unpacks the player index value from the packed pixel format.

Syntax

USHORT NuiDepthPixelToPlayerIndex(
         USHORT packedPixel
)

Parameters

  • packedPixel
    Type: USHORT
    The packed pixel depth.

Return Value

Type: USHORT
Returns the unpacked player index.

Remarks

For more information about player index, see Player Segmentation Data.

Requirements

Header: Declared in NuiImageCamera.h; however, include NuiApi.h in your project.