Property sharedVertices
sharedVertices
Gets or sets the sharedVertices for this ProBuilderMesh object.
ProBuilder makes the assumption that no Face references a vertex used by another. However, ProBuilder needs to be able to associate vertices in the Editor for many operations. These vertices are usually called coincident, or "shared" vertices. ProBuilder manages these associations with the sharedIndexes array.
Each array contains a list of triangles that points to vertices considered to be coincident. When ProBuilder compiles a Mesh from the ProBuilderMesh, it condenses these vertices to a single vertex where possible.
Declaration
public IList<SharedVertex> sharedVertices { get; set; }
Property Value
Type | Description |
---|---|
IList<SharedVertex> | The shared (or common) index array for this mesh. |