docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method RemoveHoles

    RemoveHoles(OccurrenceList, bool, bool, bool, double, uint)

    Remove some features from tessellations

    Declaration
    public void RemoveHoles(OccurrenceList occurrences, bool throughHoles, bool blindHoles, bool surfacicHoles, double maxDiameter, uint fillWithMaterial = 0)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of components to process

    bool throughHoles

    Remove through holes

    bool blindHoles

    Remove blind holes

    bool surfacicHoles

    Remove surfacic holes

    double maxDiameter

    Maximum diameter of the holes to be removed (-1=no max diameter)

    uint fillWithMaterial

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

    In This Article
    Back to top
    Copyright © 2024 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)