Class VertexEditing
Methods for merging and splitting common (or shared) vertices.
Inherited Members
Namespace: UnityEngine.ProBuilder.MeshOperations
Assembly: Unity.ProBuilder.dll
Syntax
public static class VertexEditing
Methods
Name | Description |
---|---|
MergeVertices(ProBuilderMesh, int[], bool) | Collapses all specified indices to a single shared index. This is equivalent to the Collapse Vertices action. |
SplitVertices(ProBuilderMesh, IEnumerable<int>) | Splits vertices from their shared indices so that each vertex moves independently. This corresponds to the Split Vertices action. |
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. |
WeldVertices(ProBuilderMesh, IEnumerable<int>, float) | Similar to Merge vertices, expect that this method only collapses vertices within a specified distance
of one another (typically This is equivalent to the Weld Vertices action. |