docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method IdentifySharpEdges

    IdentifySharpEdges(OccurrenceList, double, double, ConvexityFilter, bool)

    WARNING: this function is tagged as 'EXPERIMENTAL'
    Mark as Lines Of Interest the sharp edges

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void IdentifySharpEdges(OccurrenceList occurrences, double minSharpAngle, double maxSharpAngle = 180, ConvexityFilter convexity = ConvexityFilter.OnConvexAndConcave, bool onlyExplicitSharp = false)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Input occurrences

    double minSharpAngle

    The angle between the normals - all edges sharpest than this will be filleted

    double maxSharpAngle

    All edges sharpest than this won't be filleted

    ConvexityFilter convexity

    Fillet sharp edges that are convex, concave or both

    bool onlyExplicitSharp

    If toggled, if the explicit normals of an edge says the transition is smooth, the edge won't be selected

    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)