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"); }
public override void usdiOnLoad(usdi.Schema schema) { base.usdiOnLoad(schema); m_points = usdi.usdiAsPoints(schema); if (!m_points) { Debug.LogWarning("schema is not Points!"); return; } usdi.usdiPointsGetSummary(m_points, ref m_summary); m_attrRot = usdi.usdiFindAttribute(m_points, "rotations"); }
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; }
override public void OnUnload() { base.OnUnload(); m_rep = default(usdi.Points); }
public PointsUpdater(usdi.Points rep, GameObject go) : base(rep, go) { m_rep = rep; }