docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FilletMesh

    FilletMesh(OccurrenceList, double, FilletingMode, int, bool, uint, int)

    WARNING: this function is tagged as 'EXPERIMENTAL'
    Fillet a mesh according to its Lines of Interest

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void FilletMesh(OccurrenceList occurrences, double value, FilletingMode filletingMode = FilletingMode.Width, int subdivisionNb = 0, bool createFlatChamfer = false, uint material = 0, int uvChannel = -1)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Input occurrences

    double value

    Value (mm)

    FilletingMode filletingMode

    Filleting mode

    int subdivisionNb

    Number of subdivision

    bool createFlatChamfer

    If there is 0 subdivision, should the fillet be a planar flat chamfer?

    uint material

    Material to apply to created fillets. Default: use a random neighbor material

    int uvChannel

    UV Channel for the created fillet polygons. Defaults: Use an existing channel if there is one.

    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)