Esempio n. 1
0
 void _replay_DepthFrameArrived(object sender, ReplayFrameArrivedEventArgs <ReplayDepthFrame> e)
 {
     if (_displayType == FrameTypes.Depth)
     {
         if (_depthBitmap == null)
         {
             _depthBitmap       = new DepthFrameBitmap(e.Frame.Width, e.Frame.Height);
             OutputImage.Source = _depthBitmap.Bitmap;
         }
         _depthBitmap.Update(e.Frame);
     }
 }
Esempio n. 2
0
 void _replay_DepthFrameArrived(object sender, ReplayFrameArrivedEventArgs<ReplayDepthFrame> e)
 {
     if (_displayType == FrameTypes.Depth)
     {
         if (_depthBitmap == null)
         {
             _depthBitmap = new DepthFrameBitmap(e.Frame.Width, e.Frame.Height);
             OutputImage.Source = _depthBitmap.Bitmap;
         }
         _depthBitmap.Update(e.Frame);
     }
 }