Share via


DepthImageFrame.PlayerIndexBitmask Field

Kinect for Windows 1.5, 1.6, 1.7, 1.8

A bitmask for extracting the player index bit field from the depth data; the player index is stored in the lowest order bits.

Syntax

public const int PlayerIndexBitmask
'Declaration
Public Const PlayerIndexBitmask As Integer

Remarks

Each player is uniquely identified by a player index. Use this property to extract the player index from the depth data. The index is stored in the lowest bits in the depth data; use the DepthImageFrame.PlayerIndexBitmaskWidth field to see the width of the bitmask.

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

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

DepthImageFrame Class
DepthImageFrame Members
Microsoft.Kinect Namespace