Close() public method

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

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