Share via


VisualGestureBuilderFrameSource.TrackingId Property

Gets or sets the tracking ID associated with the gesture frame source.

Syntax

public:
property uint64 TrackingId {
         uint64 get ();
         void set (uint64 value);
}
public ulong TrackingId { get; set; }
var trackingId = visualGestureBuilderFrameSource.trackingId;
visualGestureBuilderFrameSource.trackingId = trackingId;

Property value

[C++] 
[C#] 
[JavaScript] 

Type: uint64
Type: ulong
Type: Number

 

The tracking ID.

Remarks

The tracking ID associated with the VisualGestureBuilderFrameSource object can become invalid as bodies move in/out of view of the Kinect sensor. Whenever new body frames arrive from the sensor, check to see if any of the body tracking IDs have changed. If a change is detected, update the corresponding VisualGestureBuilderFrameSource object with the latest tracking ID.

Requirements

Namespace: Microsoft.Kinect.VisualGestureBuilder

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

See also

Reference

VisualGestureBuilderFrameSource Class
Microsoft.Kinect.VisualGestureBuilder Namespace