ReplayBodyFrame.GetAndRefreshBodyData<T> Method (KinectEx.DVR)

Similar to the Kinect SDK method of the same name, this method updates the specified list of IBody instances with the values contained in the Bodies list of this ReplayBodyFrame. 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. Note that this method is really only needed if you wish to use smoothing during replay. Otherwise, directly accessing the Bodies list of this ReplayBodyFrame is both acceptable and more efficient.

Namespace: KinectEx.DVR
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
public void GetAndRefreshBodyData<T>(
	IList<T> bodies
) where T : IBody

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

member GetAndRefreshBodyData<'T when 'T : IBody> : 
	bodies : IList<T> -> unit

Parameters

bodies
Type: IList<T>
Supported in:

    
 Windows Desktop - .NET 4.5
    
 Windows Desktop - .NET 4.5 (without Kinect SDK)
    
 Windows 8.1 Store - WinRT
    
 Windows 8.1 Store - WinRT (without Kinect SDK)
    
 Windows Phone 8 - WinRT