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.

Namespace: KinectEx
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • 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: WindowsPreview.Kinect.BodyFrame
The frame.
bodies
Type: SmoothedBodyList<ISmoother>
The bodies.
Supported in:

    
 Windows 8.1 Store - WinRT