Exemple #1
0
 void StopIndexImage()
 {
     if (_indexImageStream != null)
     {
         _indexImageStream.Dispose();
         _indexImageStream = null;
     }
 }
Exemple #2
0
        void CreateIndexImageStream(KinectImageResolution resolution)
        {
            StopIndexImage();
            if (resolution == KinectImageResolution.None)
            {
                return;
            }

            _indexImageStream = new V2BodyIndexStream(Sensor);
        }