NuiDepthPixelToPlayerIndex

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Unpacks the player index value from the packed pixel format.

USHORT NuiDepthPixelToPlayerIndex(
         USHORT packedPixel
)

Parameters

packedPixel
Type: USHORT
The packed pixel depth.

Return Value

Type: USHORT
Returns the unpacked player index.

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

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

Community Additions

ADD
Show: