Exemplo n.º 1
0
        public override void usdiOnUnload()
        {
            base.usdiOnUnload();

            if (m_asyncRead != null)
            {
                m_asyncRead.Wait();
                m_asyncRead = null;
            }

            m_mesh = default(usdi.Mesh);
            m_buf.Clear();
        }
Exemplo n.º 2
0
 public override void usdiSync()
 {
     if (m_asyncRead != null)
     {
         m_asyncRead.Wait();
     }
 }
Exemplo n.º 3
0
 void usdiWaitAsyncUpdateTask()
 {
     if (m_asyncUpdate != null)
     {
         m_asyncUpdate.Wait();
     }
 }
Exemplo n.º 4
0
 void WaitFlush()
 {
     if (m_asyncFlush != null)
     {
         m_asyncFlush.Wait();
     }
 }
Exemplo n.º 5
0
        public override void usdiOnUnload()
        {
            base.usdiOnUnload();

            if (m_asyncRead != null)
            {
                m_asyncRead.Wait();
                m_asyncRead = null;
            }

            m_points     = default(usdi.Points);
            m_summary    = default(usdi.PointsSummary);
            m_pointsData = default(usdi.PointsData);
            m_attrRot    = default(usdi.Attribute);
            m_rotData    = default(usdi.AttributeData);

            m_positions  = null;
            m_velocities = null;
            m_rotations  = null;
        }