docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemeshSurfacicHoles

    RemeshSurfacicHoles(OccurrenceList, double, bool, int, uint)

    WARNING: this function is tagged as 'EXPERIMENTAL'
    Resmesh surfacic holes of tessellations

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void RemeshSurfacicHoles(OccurrenceList occurrences, double maxDiameter = 0, bool refine = true, int numberOfNeighbors = 3, uint fillWithMaterial = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of components to process

    double maxDiameter

    Maximum surfacic holes diameters

    bool refine

    Refine mesh for more details in holes

    int numberOfNeighbors

    Number of neighboring vertices to use for the MLS projection

    uint fillWithMaterial

    If set, the given material will be used to fill the holes

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)