Reformat files
This commit is contained in:
parent
e347047275
commit
28b99bda97
|
@ -1,10 +1,10 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections;
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.Windows.WebCam;
|
using UnityEngine.Windows.WebCam;
|
||||||
using System.IO;
|
|
||||||
#if WINDOWS_UWP && !UNITY_EDITOR
|
#if WINDOWS_UWP && !UNITY_EDITOR
|
||||||
using Windows.Storage;
|
using Windows.Storage;
|
||||||
#endif
|
#endif
|
||||||
|
@ -99,9 +99,11 @@ public class VideoCaptureHandler : MonoBehaviour
|
||||||
cameraParameters.cameraResolutionHeight = cameraResolution.height;
|
cameraParameters.cameraResolutionHeight = cameraResolution.height;
|
||||||
cameraParameters.pixelFormat = CapturePixelFormat.BGRA32;
|
cameraParameters.pixelFormat = CapturePixelFormat.BGRA32;
|
||||||
|
|
||||||
this.videoCapture.StartVideoModeAsync(cameraParameters,
|
this.videoCapture.StartVideoModeAsync(
|
||||||
|
cameraParameters,
|
||||||
VideoCapture.AudioState.None,
|
VideoCapture.AudioState.None,
|
||||||
OnStartedVideoCaptureMode);
|
OnStartedVideoCaptureMode
|
||||||
|
);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue