docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ConvexDecomposition

    ConvexDecomposition(OccurrenceList, int, int, bool, int, double)

    Explode each mesh to approximated convex decomposition

    Declaration
    public OccurrenceList ConvexDecomposition(OccurrenceList occurrences, int maxCount, int vertexCount, bool approximate, int resolution = 100000, double concavity = 0.001)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    int maxCount

    Maximum number of convex hull to generated

    int vertexCount

    Maximum number of vertices per convex hull

    bool approximate

    Approximate method

    int resolution

    Resolution

    double concavity

    Concavity

    Returns
    Type Description
    OccurrenceList
    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)