Esempio n. 1
0
 public Camera(string id, string name, List <Tuple <int, int> > resolutions, RawImage img, CameraType cameraType)
 {
     Id                 = id;
     Name               = name;
     Resolutions        = resolutions.Where(i => i.Item1 > 0 && i.Item2 > 0).ToList();
     Image              = img;
     SelectedResolution = Resolutions.OrderBy(c => c.Item1).First();
     CameraType         = cameraType;
 }