Beispiel #1
0
 void FreeThread()
 {
     if (m_ClipperThread != null)
     {
         m_ClipperThread.Dispose();
         m_ClipperThread = null;
     }
 }
Beispiel #2
0
 void CreateThread()
 {
     // 开启线程
     if (m_UseThread && m_ClipperThread == null)
     {
         m_ClipperThread = new KDTreeCameraClipThread();
         m_ClipperThread.Start();
     }
 }