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 IEnumerable<IBody> bodies, 
	WriteableBitmap bitmap, 
	Color boneColor, 
	Color jointColor
)

Syntax for VB is not yet implemented.

Syntax for C++ is not yet implemented

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

Parameters

bodies
Type: IEnumerable<IBody>
bitmap
Type: System.Windows.Media.Imaging.WriteableBitmap
the bitmap to which to draw the bodies
boneColor
Type: System.Windows.Media.Color
color to use for drawing bones
jointColor
Type: System.Windows.Media.Color
color to use for drawing joints
Supported in:

    
 Windows Desktop - .NET 4.5
    
 Windows Desktop - .NET 4.5 (without Kinect SDK)