Method GetVertices
GetVertices(IList<int>)
Creates a new array of vertices with values from a ProBuilderMesh component.
Declaration
public Vertex[] GetVertices(IList<int> indexes = null)
Parameters
Type | Name | Description |
---|---|---|
IList<int> | indexes | An optional list of indices used to designate the subset of vertices values to retrieve from the mesh in the array. |
Returns
Type | Description |
---|---|
Vertex[] | An array of vertices matching either the specified list in the |