BodyIndexFrame.CopyFrameDataToArray Method

Copies the body index frame data into the array provided.

Syntax

public:
void CopyFrameDataToArray(
         out Array<unsigned char>^ frameData
)  

Parameters

frameData
Type: unsigned char 

 The array to fill.

Remarks

Allocate the frameData array before calling this method. It should have the same number of elements as the depth frame has depth pixels (512px by 424px). Each array position that represents a depth pixel that belongs to a body will contain an index into the array of bodies in the frame. Array positions that correspond to depth pixels that do not belong to a body will contain the value 255.

Requirements

Namespace: Windows.Kinect

Metadata: windows.winmd

See also

Reference

BodyIndexFrame Class

BodyIndexFrame Members

Windows.Kinect Namespace