BodyExtensions.RefreshFromBodyArray<T> Method (KinectEx)

Similar to the Kinect SDK method BodyFrame.GetAndRefreshBodyData, this method uses the values from the specified Body array to update the values in this collection. If the current collection does not contain the correct number of bodies, this method clears and refills this 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 RefreshFromBodyArray<T>(
	this IList<T> bodies, 
	Body[] kinectBodies
) where T : IBody

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

[<ExtensionAttribute>]
static member RefreshFromBodyArray<'T when 'T : IBody> : 
	bodies : IList<T> * 
	kinectBodies : Body[] -> unit

Parameters

bodies
Type: IList<T>
kinectBodies
Type: WindowsPreview.Kinect.Body[]
Supported in:

    
 Windows 8.1 Store - WinRT