docs.unity3d.com
Version: 

    Merge vertices

    API function: algo.mergeVertices

    Use this feature to merge vertices that have the same position but different attributes.

    The tolerance parameter is used to identify vertices to be merged. Candidates are typically the non-manifold borders of a mesh or hard edges.

    This feature recreates connectivity information for vertices that match the specified tolerance, at the identified locations.

    Important

    You must use this feature when creating meshes from meshes with unconnected vertices. Use a very small tolerance. Otherwise, the features that require connectivity information, such as decimation, don't work correctly.

    This feature is part of the repair mesh algorithm.

    Additional resources

    Repair meshes

    Version 2025.1.2.3
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.