示例#1
0
 // Event handler for the DepthSensorUpdate event
 private void onDepthSensorUpdate(DepthFrame depthFrame)
 {
     if (_depthFrame != null)
     {
         _depthFrame.Dispose();
     }
     _depthFrame = (DepthFrame)depthFrame.Clone();
 }