DepthImageFrame.CopyDepthImagePixelDataTo Method (DepthImagePixel[])

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Copies a frame of depth data to a pre-allocated array of DepthImagePixels using the pixel data length.

public void CopyDepthImagePixelDataTo (
         DepthImagePixel[] pixelData
)

Parameters

pixelData
Type: DepthImagePixel
A pre-allocated array of DepthImagePixels that receives the data. The array size must be equal to the PixelDataLength property.

Namespace: Microsoft.Kinect
Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

Community Additions

ADD
Show: