QueryPrimaryUserTrackingIdCallback Delegate
Handler for KinectRegion.QueryPrimaryUserTrackingIdCallback delegate. Chooses who the primary user should be. Returns the tracking Id of chosen primary user. A return value of 0 means that no user should be considered primary.
Syntax
public delegate int QueryPrimaryUserTrackingIdCallback (
int proposedTrackingId,
IEnumerable<HandPointer> candidateHandPointers,
long timestamp
)
Parameters
- proposedTrackingId
Type: Int32
Tracking Id of proposed primary user. - candidateHandPointers
Type: IEnumerable<HandPointer>
Collection of user hand pointers from which client can choose a primary user. - timestamp
Type: Int64
The timestamp.
Return Value
Type: Int32
Requirements
Namespace: Microsoft.Kinect.Toolkit.Controls
Assembly: Microsoft.Kinect.Toolkit.Controls (in microsoft.kinect.toolkit.controls.dll)