I've replaced the temporary NUI_DEPTH_IMAGE_PIXEL* array you were using in mappingDepthToColor with a permanent one stored in the class so that this array can be accessed publicly. I did this from a need to get to the playerIndex, and to use this array for the INuiFusionReconstruction::DepthToDepthFloatFrame method I'm using to integrate Kinect Fusion.
This is not really ideal - instead I think we would properly integrate Kinect Fusion as you're doing with Face Tracking and Voice Recognition, but having access to this array in its original form is helpful in the meantime.
I've replaced the temporary NUI_DEPTH_IMAGE_PIXEL* array you were using in mappingDepthToColor with a permanent one stored in the class so that this array can be accessed publicly. I did this from a need to get to the playerIndex, and to use this array for the INuiFusionReconstruction::DepthToDepthFloatFrame method I'm using to integrate Kinect Fusion.
This is not really ideal - instead I think we would properly integrate Kinect Fusion as you're doing with Face Tracking and Voice Recognition, but having access to this array in its original form is helpful in the meantime.