BodyImageExtension.AddToBitmap Method (KinectEx)
Draws the body joints and bones to a WriteableBitmap
- C#
- VB
- C++
- F#
[ExtensionAttribute] public static void AddToBitmap( this IEnumerable<Body> 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<Body> * bitmap : WriteableBitmap * boneColor : Color * jointColor : Color -> unit
Parameters
- bodies
-
Type: IEnumerable<Bod>
- 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