Esempio n. 1
0
        public override void usdiOnLoad()
        {
            base.usdiOnLoad();

            m_points = usdi.usdiAsPoints(m_schema);
            usdi.usdiPointsGetSummary(m_points, ref m_summary);
            m_attrRot = usdi.usdiPrimFindAttribute(m_points, "rotations");
        }
Esempio n. 2
0
        public override void usdiOnUnload()
        {
            base.usdiOnUnload();

            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;
        }