VisualGestureBuilderFrameSource.IsTrackingIdValid Property
Gets or sets a value indicating if the tracking ID associated with the frame sourcec is valid.
Syntax
public:
property bool IsTrackingIdValid {
bool get ();
}
public bool IsTrackingIdValid { get; }
var isTrackingIdValid = visualGestureBuilderFrameSource.isTrackingIdValid;
Property value
[C++]
[C#]
[JavaScript]
Type: bool
Type: bool
Type: Boolean
True if the tracking ID is valid; otherwise false.
Requirements
Namespace: Microsoft.Kinect.VisualGestureBuilder
Assembly: Microsoft.Kinect.VisualGestureBuilder (in microsoft.kinect.visualgesturebuilder.dll)
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.
See also
Reference
VisualGestureBuilderFrameSource Class
Microsoft.Kinect.VisualGestureBuilder Namespace