Method SplitVertices
SplitVertices(ProBuilderMesh, Edge)
Splits the vertices referenced by edge from their shared indices so that each vertex moves independently.
This corresponds to the Split Vertices action.
Declaration
public static void SplitVertices(this ProBuilderMesh mesh, Edge edge)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The source mesh. |
Edge | edge | The edge to query for vertex indexes. |
Remarks
This is equivalent to calling SplitVertices(mesh, new int[] { edge.x, edge.y });
.
See Also
SplitVertices(ProBuilderMesh, IEnumerable<int>)
Splits vertices from their shared indices so that each vertex moves independently.
This corresponds to the Split Vertices action.
Declaration
public static void SplitVertices(this ProBuilderMesh mesh, IEnumerable<int> vertices)
Parameters
Type | Name | Description |
---|---|---|
ProBuilderMesh | mesh | The source mesh. |
IEnumerable<int> | vertices | A list of vertex indices to split. |