Share via


ColorImageFrame.CopyPixelDataTo Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Methods for copying the per-pixel color data to a pre-allocated array of bytes.

Overload List

Name Description
ColorImageFrame.CopyPixelDataTo (Byte[]) Copies a frame of color data to a pre-allocated array of bytes. The array size must be equal to the ColorImageFrame.PixelDataLength Property.
ColorImageFrame.CopyPixelDataTo (IntPtr, Int32) Copies a frame of color data to a pre-allocated array of bytes using the pixel data length. The array size must be equal to the ColorImageFrame.PixelDataLength Property.

See Also

Reference

ColorImageFrame Class
ColorImageFrame Members
Microsoft.Kinect Namespace