docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MergeUVIslandsRelaxed

    MergeUVIslandsRelaxed(OccurrenceList, int, int, double, bool)

    Minimizes the number of seams in the UV mapping by merging UV islands using local reparametrization near the UV seams (recommanded for organic surfaces)

    Declaration
    [HandleProcessCorruptedStateExceptions]
    public void MergeUVIslandsRelaxed(OccurrenceList occurrences, int channel, int targetIslandCount = 0, double energyThreshold = 0.01, bool forceIsolatedFaces = true)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Part occurrences to process

    int channel

    UV channel to use

    int targetIslandCount

    Target number of islands (zero means the algorithm runs until no more merging is possible)

    double energyThreshold

    Max energy allowed during local reparametrization

    bool forceIsolatedFaces

    UV islands consisting in a single isolated face completely surrounded by another island are forced to be merged, without reparametrization.

    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)