Share via


DepthImageFrame.CopyPixelDataTo Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

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

Overload List

Name Description
DepthImageFrame.CopyPixelDataTo (Int16[]) Copies the per-pixel depth data to a pre-allocated array of shorts using the pixel data length. The array size must be equal to the PixelDataLength property.
DepthImageFrame.CopyPixelDataTo (IntPtr, Int32) Copies the per-pixel depth data to a pre-allocated array of shorts using the data buffer length. The array size must be equal to the PixelDataLength property.

See Also

Reference

DepthImageFrame Class
DepthImageFrame Members
Microsoft.Kinect Namespace