docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MergePartOccurrencesByRegions

    MergePartOccurrencesByRegions(OccurrenceList, MergeByRegionsStrategy, MergeStrategy)

    Merge all parts within the same area.

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public OccurrenceList MergePartOccurrencesByRegions(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 © 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)