Esempio n. 1
0
 private void Start()
 {
     _cameraService = CameraService.Get();
     _cameraService.FrameUpdated.Bind(frame => {
         uiTimestampText.text = $"Timestamp: {frame.Timestamp}";
     });
     if (_cameraService.CurrentState == ServiceState.Running)
     {
         var range = _cameraService.Device.GetPropertyRange(Property.EType.FrameRate);
         Debug.Log(
             $"Frame rate range is {range.low} - {range.high}");
     }
 }