BodyExtensions.RefreshFromBodyList<T> Method (KinectEx)
Similar to the Kinect SDK method BodyFrame.GetAndRefreshBodyData, this
method uses the values from the source IBody collection 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.
- C#
- VB
- C++
- F#
[ExtensionAttribute] public static void RefreshFromBodyList<T>( this IList<T> bodies, IList<IBody> sourceBodies ) where T : IBody
Syntax for VB is not yet implemented.
Syntax for C++ is not yet implemented
[<ExtensionAttribute>] static member RefreshFromBodyList<'T when 'T : IBody> : bodies : IList<T> * sourceBodies : IList<IBody> -> unit
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
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