public override void Destroy() { _inited = false; _processorThread.signal.Set(); _processorThread.Abort(); _ovr.Close(); }
bool _InitTextures(Vector2 framesize) { Vector2 sz = new Vector2(framesize.x /*/2*/, framesize.y); if (_inited && CheckResized(sz)) { _inited = false; _ovr.Close(); } if (_inited == false) { _init(sz); } return(true); }
// Quit void OnDestroy() { //Close camera if (!OvrPro.Close()) { Debug.LogError("Ovrvision close error!!"); } }
// Quit void OnDestroy() { if (!OvrPro.camStatus) { return; } //Close camera if (!OvrPro.Close()) { Debug.LogError("Ovrvision close error!!"); } }
public void Close() { ovrPro.Close(); _bufferID = 0; }
public override void Close() { _processorThread.signal.Set(); _processorThread.Abort(); _ovr.Close(); }