BodyIndexFrame.CopyFrameDataToArray Method
Copies the body index frame data into the array provided.
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.
Community Additions
ADD
Show: