Class OnDemandCaptureSession
- Namespace
- Uralstech.UXR.QuestCamera
Manages an on-demand, explicit capture session.
public sealed class OnDemandCaptureSession : ContinuousCaptureSession
- Inheritance
-
objectOnDemandCaptureSession
- Inherited Members
- Extension Methods
Remarks
This does not do any image processing/conversion on its own, but classes like YUVConverter can register callbacks to OnFrameReady to do their own processing of the raw image YUV 4:2:0, BT.601 Full Range data.
Constructors
OnDemandCaptureSession(Resolution)
public OnDemandCaptureSession(Resolution resolution)
Parameters
resolutionResolution
Methods
RequestCapture(CaptureTemplate)
Requests a new capture from the session.
public OnDemandCaptureSession.RequestStatus RequestCapture(CaptureTemplate template = CaptureTemplate.StillCapture)
Parameters
templateCaptureTemplate
Returns
Exceptions
- ObjectDisposedException
TryRequestCapture(out ErrorCode, CaptureTemplate)
Requests a new capture from the session.
public bool TryRequestCapture(out CaptureSessionBase<ContinuousCaptureSession.Proxy>.ErrorCode errorCode, CaptureTemplate template = CaptureTemplate.StillCapture)
Parameters
errorCodeCaptureSessionBase<ContinuousCaptureSession.Proxy>.ErrorCodeError code if the operation was unsuccessful.
templateCaptureTemplateThe capture template to use for the capture.
Returns
Exceptions
- ObjectDisposedException