docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MergeByRegions

    MergeByRegions(OccurrenceList, MergeByRegionsStrategy, MergeStrategy)

    Merge all parts within the same area.

    Declaration
    public OccurrenceList MergeByRegions(OccurrenceList roots, MergeByRegionsStrategy mergeBy, MergeStrategy strategy)
    Parameters
    Type Name Description
    OccurrenceList roots

    Roots occurrences for the process (will not be removed)

    MergeByRegionsStrategy mergeBy

    Number: number of output parts (or regions of parts)\nSize: diagonal size of output regions

    MergeStrategy strategy

    Choose the regions merging strategy

    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)