BodyFrameExtensions.GetAndRefreshBodyData Method (KinectEx)
Similar to the Kinect SDK method of the same name, this method retrieves
the array of bodies from a BodyFrame and updates the specified
SmoothedBodyList collection. If the collection does not contain
the correct number of bodies, this method clears and refills the collection
with new bodies of type T. Note that if this behavior is undesirable,
insure that the collection contains the right number of bodies before
calling this method.
- C#
- VB
- C++
- F#
[ExtensionAttribute] public static void GetAndRefreshBodyData( this BodyFrame frame, SmoothedBodyList<ISmoother> bodies )
Syntax for VB is not yet implemented.
Syntax for C++ is not yet implemented
[<ExtensionAttribute>] static member GetAndRefreshBodyData : frame : BodyFrame * bodies : SmoothedBodyList<ISmoother> -> unit
Parameters
- frame
-
Type: Microsoft.Kinect.BodyFrame
The frame.
- bodies
-
Type: SmoothedBodyList<ISmoother>
The bodies.
Supported in:
Windows Desktop - .NET 4.5
Windows Desktop - .NET 4.5