BodyImageExtension.AddToBitmap Method (KinectEx)

Draws the body joints and bones to a WriteableBitmap

Namespace: KinectEx
Assembly: KinectEx (KinectEx.dll 0.4.0.0)
  • C#
  • VB
  • C++
  • F#
[ExtensionAttribute]
public static void AddToBitmap(
	this IBody body, 
	WriteableBitmap bitmap, 
	Color boneColor, 
	Color jointColor
)

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

[<ExtensionAttribute>]
static member AddToBitmap : 
	body : IBody * 
	bitmap : WriteableBitmap * 
	boneColor : Color * 
	jointColor : Color -> unit

Parameters

body
Type: KinectEx.IBody
bitmap
Type: Windows.UI.Xaml.Media.Imaging.WriteableBitmap
the bitmap to which to draw the body
boneColor
Type: Windows.UI.Color
color to use for drawing bones
jointColor
Type: Windows.UI.Color
color to use for drawing joints
Supported in:

    
 Windows 8.1 Store - WinRT
    
 Windows 8.1 Store - WinRT (without Kinect SDK)
    
 Windows Phone 8 - WinRT