FGroupTopology::CollectGroupVertices

Add all the vertices of the given GroupID to the Vertices set