NatCam



Description

This is the NatCam frontend.



Static Functions

CapturePhoto Capture a photo with the provided callback.
Pause Pause the camera preview.
Play Start the camera preview.
PreviewBuffer Read the preview buffer for the current frame.
PreviewBuffer Read the preview buffer for the current frame.
PreviewFrame Read the current preview frame.
PreviewMatrix Read the current preview frame as an OpenCVForUnity.Mat.
Release Release NatCam.
StartRecording Start recording a video.
StopRecording Stop recording a video.


Static Variables

Camera Get or set the active camera.
Implementation The INatCam backend implementation for this platform.
IsPlaying Is the preview playing?
IsRecording Is a video being recorded?
Preview The camera preview texture.


Events

OnFrame An event called on every new camera frame.
OnStart An event called when the preview starts.




Copyright (c) Yusuf Olokoba 2016