Esempio n. 1
0
 public HoloLensCameraStream.Resolution GetHighestResolution()
 {
     if (videoCapture == null)
     {
         throw new Exception("Please call this method after a VideoCapture instance has been created.");
     }
     return(videoCapture.GetSupportedResolutions().OrderByDescending((r) => r.width * r.height).FirstOrDefault());
 }