Show / Hide Table of Contents

Class VideoCapture

Inheritance
Object
VideoCapture
Implements
IDisposable
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: UnityEngine.XR.WSA.WebCam
Assembly: UnityEngine.dll
Syntax
[MovedFrom("UnityEngine.VR.WSA.WebCam")]
public class VideoCapture : IDisposable

Properties

IsRecording

Declaration
public bool IsRecording { get; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

SupportedResolutions

Declaration
public static IEnumerable<Resolution> SupportedResolutions { get; }
Property Value
Type Description
IEnumerable<Resolution>

Methods

CreateAsync(Boolean, VideoCapture.OnVideoCaptureResourceCreatedCallback)

Declaration
public static void CreateAsync(bool showHolograms, VideoCapture.OnVideoCaptureResourceCreatedCallback onCreatedCallback)
Parameters
Type Name Description
Boolean showHolograms
VideoCapture.OnVideoCaptureResourceCreatedCallback onCreatedCallback
| Improve this Doc View Source

Dispose()

Declaration
public void Dispose()
| Improve this Doc View Source

Finalize()

Declaration
protected void Finalize()
| Improve this Doc View Source

GetSupportedFrameRatesForResolution(Resolution)

Declaration
public static IEnumerable<float> GetSupportedFrameRatesForResolution(Resolution resolution)
Parameters
Type Name Description
Resolution resolution
Returns
Type Description
IEnumerable<Single>

GetUnsafePointerToVideoDeviceController()

Declaration
public IntPtr GetUnsafePointerToVideoDeviceController()
Returns
Type Description
IntPtr
| Improve this Doc View Source

StartRecordingAsync(String, VideoCapture.OnStartedRecordingVideoCallback)

Declaration
public void StartRecordingAsync(string filename, VideoCapture.OnStartedRecordingVideoCallback onStartedRecordingVideoCallback)
Parameters
Type Name Description
String filename
VideoCapture.OnStartedRecordingVideoCallback onStartedRecordingVideoCallback
| Improve this Doc View Source

StartVideoModeAsync(CameraParameters, VideoCapture.AudioState, VideoCapture.OnVideoModeStartedCallback)

Declaration
public void StartVideoModeAsync(CameraParameters setupParams, VideoCapture.AudioState audioState, VideoCapture.OnVideoModeStartedCallback onVideoModeStartedCallback)
Parameters
Type Name Description
CameraParameters setupParams
VideoCapture.AudioState audioState
VideoCapture.OnVideoModeStartedCallback onVideoModeStartedCallback

StopRecordingAsync(VideoCapture.OnStoppedRecordingVideoCallback)

Declaration
public void StopRecordingAsync(VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback)
Parameters
Type Name Description
VideoCapture.OnStoppedRecordingVideoCallback onStoppedRecordingVideoCallback

StopVideoModeAsync(VideoCapture.OnVideoModeStoppedCallback)

Declaration
public void StopVideoModeAsync(VideoCapture.OnVideoModeStoppedCallback onVideoModeStoppedCallback)
Parameters
Type Name Description
VideoCapture.OnVideoModeStoppedCallback onVideoModeStoppedCallback

Implements

System.IDisposable

Extension Methods

MustExtensions.MustBeEqual<T>(T, T)
MustExtensions.MustBeEqual<T>(T, T, String)
MustExtensions.MustNotBeEqual<T>(T, T)
MustExtensions.MustNotBeEqual<T>(T, T, String)
MustExtensions.MustBeNull<T>(T)
MustExtensions.MustBeNull<T>(T, String)
MustExtensions.MustNotBeNull<T>(T)
MustExtensions.MustNotBeNull<T>(T, String)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX