C# 클래스 UnityEngine.VR.WSA.WebCam.VideoCapture

Records a video from the web camera directly to disk.

상속: IDisposable
파일 보기 프로젝트 열기: CarlosHBC/UnityDecompiled 1 사용 예제들

공개 메소드들

메소드 설명
CreateAsync ( bool showHolograms, OnVideoCaptureResourceCreatedCallback onCreatedCallback ) : void
Dispose ( ) : void

Dispose must be called to shutdown the PhotoCapture instance.

GetSupportedFrameRatesForResolution ( Resolution resolution ) : IEnumerable

Returns the supported frame rates at which a video can be recorded given a resolution.

GetUnsafePointerToVideoDeviceController ( ) : IntPtr

Provides a COM pointer to the native IVideoDeviceController.

StartRecordingAsync ( string filename, OnStartedRecordingVideoCallback onStartedRecordingVideoCallback ) : void
StartVideoModeAsync ( CameraParameters setupParams, AudioState audioState, OnVideoModeStartedCallback onVideoModeStartedCallback ) : void
StopRecordingAsync ( OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback ) : void
StopVideoModeAsync ( OnVideoModeStoppedCallback onVideoModeStoppedCallback ) : void

비공개 메소드들

메소드 설명
DisposeThreaded_Internal ( IntPtr videoCaptureObj ) : void
Dispose_Internal ( IntPtr videoCaptureObj ) : void
GetSupportedFrameRatesForResolution_Internal ( int resolutionWidth, int resolutionHeight ) : float[]
GetSupportedResolutions_Internal ( ) : UnityEngine.Resolution[]
GetUnsafePointerToVideoDeviceController_Internal ( IntPtr videoCaptureObj ) : IntPtr
INTERNAL_CALL_GetUnsafePointerToVideoDeviceController_Internal ( IntPtr videoCaptureObj, IntPtr &value ) : void
INTERNAL_CALL_Instantiate_Internal ( bool showHolograms, OnVideoCaptureResourceCreatedCallback onCreatedCallback, IntPtr &value ) : void
Instantiate_Internal ( bool showHolograms, OnVideoCaptureResourceCreatedCallback onCreatedCallback ) : IntPtr
InvokeOnCreatedVideoCaptureResourceDelegate ( OnVideoCaptureResourceCreatedCallback callback, IntPtr nativePtr ) : void
InvokeOnStartedRecordingVideoToDiskDelegate ( OnStartedRecordingVideoCallback callback, long hResult ) : void
InvokeOnStoppedRecordingVideoToDiskDelegate ( OnStoppedRecordingVideoCallback callback, long hResult ) : void
InvokeOnVideoModeStartedDelegate ( OnVideoModeStartedCallback callback, long hResult ) : void
InvokeOnVideoModeStoppedDelegate ( OnVideoModeStoppedCallback callback, long hResult ) : void
IsRecording_Internal ( IntPtr videoCaptureObj ) : bool
MakeCaptureResult ( CaptureResultType resultType, long hResult ) : VideoCaptureResult
MakeCaptureResult ( long hResult ) : VideoCaptureResult
StartRecordingVideoToDisk_Internal ( IntPtr videoCaptureObj, string filename, OnStartedRecordingVideoCallback onStartedRecordingVideoCallback ) : void
StartVideoMode_Internal ( IntPtr videoCaptureObj, int audioState, OnVideoModeStartedCallback onVideoModeStartedCallback, float hologramOpacity, float frameRate, int cameraResolutionWidth, int cameraResolutionHeight, int pixelFormat ) : void
StopRecordingVideoToDisk_Internal ( IntPtr videoCaptureObj, OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback ) : void
StopVideoMode_Internal ( IntPtr videoCaptureObj, OnVideoModeStoppedCallback onVideoModeStoppedCallback ) : void
VideoCapture ( IntPtr nativeCaptureObject ) : System

메소드 상세

CreateAsync() 공개 정적인 메소드

public static CreateAsync ( bool showHolograms, OnVideoCaptureResourceCreatedCallback onCreatedCallback ) : void
showHolograms bool
onCreatedCallback OnVideoCaptureResourceCreatedCallback
리턴 void

Dispose() 공개 메소드

Dispose must be called to shutdown the PhotoCapture instance.

public Dispose ( ) : void
리턴 void

GetSupportedFrameRatesForResolution() 공개 정적인 메소드

Returns the supported frame rates at which a video can be recorded given a resolution.

public static GetSupportedFrameRatesForResolution ( Resolution resolution ) : IEnumerable
resolution UnityEngine.Resolution A recording resolution.
리턴 IEnumerable

GetUnsafePointerToVideoDeviceController() 공개 메소드

Provides a COM pointer to the native IVideoDeviceController.

public GetUnsafePointerToVideoDeviceController ( ) : IntPtr
리턴 System.IntPtr

StartRecordingAsync() 공개 메소드

public StartRecordingAsync ( string filename, OnStartedRecordingVideoCallback onStartedRecordingVideoCallback ) : void
filename string
onStartedRecordingVideoCallback OnStartedRecordingVideoCallback
리턴 void

StartVideoModeAsync() 공개 메소드

public StartVideoModeAsync ( CameraParameters setupParams, AudioState audioState, OnVideoModeStartedCallback onVideoModeStartedCallback ) : void
setupParams CameraParameters
audioState AudioState
onVideoModeStartedCallback OnVideoModeStartedCallback
리턴 void

StopRecordingAsync() 공개 메소드

public StopRecordingAsync ( OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback ) : void
onStoppedRecordingVideoCallback OnStoppedRecordingVideoCallback
리턴 void

StopVideoModeAsync() 공개 메소드

public StopVideoModeAsync ( OnVideoModeStoppedCallback onVideoModeStoppedCallback ) : void
onVideoModeStoppedCallback OnVideoModeStoppedCallback
리턴 void