Close() public method

public Close ( ) : bool
return bool
 public override void Destroy()
 {
     _inited = false;
     _processorThread.signal.Set();
     _processorThread.Abort();
     _ovr.Close();
 }
Example #2
0
    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!!");
     }
 }
Example #4
0
    // Quit
    void OnDestroy()
    {
        if (!OvrPro.camStatus)
        {
            return;
        }

        //Close camera
        if (!OvrPro.Close())
        {
            Debug.LogError("Ovrvision close error!!");
        }
    }
Example #5
0
 public void Close()
 {
     ovrPro.Close();
     _bufferID = 0;
 }
Example #6
0
 public override void Close()
 {
     _processorThread.signal.Set();
     _processorThread.Abort();
     _ovr.Close();
 }