OpenCV for Unity 2.6.4
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Loading...
Searching...
No Matches
OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper Interface Reference

Public Member Functions

float GetFPS ()
 
int GetFrameCount ()
 
int GetFrameIndex ()
 
float GetFramePosRatio ()
 
void SetFrameIndex (int index)
 
void SetFramePosRatio (float ratio)
 
- Public Member Functions inherited from OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper
bool DidUpdateThisFrame ()
 
void Dispose ()
 
Source2MatHelperColorFormat GetBaseColorFormat ()
 
string GetDeviceName ()
 
int GetHeight ()
 
Mat GetMat ()
 
int GetWidth ()
 
void Initialize (bool autoPlay)
 
bool IsInitialized ()
 
bool IsPaused ()
 
bool IsPlaying ()
 
void Pause ()
 
void Play ()
 
void Stop ()
 

Properties

bool loop [get, set]
 
string requestedVideoFilePath [get, set]
 
- Properties inherited from OpenCVForUnity.UnityUtils.Helper.ISource2MatHelper
UnityEvent onDisposed [get, set]
 
Source2MatHelperErrorUnityEvent onErrorOccurred [get, set]
 
UnityEvent onInitialized [get, set]
 
Source2MatHelperColorFormat outputColorFormat [get, set]
 
int timeoutFrameCount [get, set]
 

Member Function Documentation

◆ GetFPS()

float OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.GetFPS ( )

◆ GetFrameCount()

int OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.GetFrameCount ( )

◆ GetFrameIndex()

int OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.GetFrameIndex ( )

◆ GetFramePosRatio()

float OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.GetFramePosRatio ( )

◆ SetFrameIndex()

void OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.SetFrameIndex ( int index)

◆ SetFramePosRatio()

void OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.SetFramePosRatio ( float ratio)

Property Documentation

◆ loop

bool OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.loop
getset

◆ requestedVideoFilePath

string OpenCVForUnity.UnityUtils.Helper.IVideoSource2MatHelper.requestedVideoFilePath
getset

The documentation for this interface was generated from the following file: