// fill the `lst' using the currently selected elements public void GetSelectionInVLst(RVLst lst) { switch (m_PrimType) { case MeshTopology.Points: { lst.Clear(); lst.AddRange(m_Verts.Data); } break; } }
public void AddVert(int[] vindices) { RVLst vlst = m_Verts.Data; RVLst newLst = new RVLst(vlst); newLst.AddRange(vindices); newLst.Sort(); newLst = newLst.Distinct().ToList(); m_Verts.SetData(newLst, true, "Add Selection Verts"); Dirty = true; //SetDirty }