docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AutomaticUVMapping

    AutomaticUVMapping(OccurrenceList, int, double, double, bool, bool)

    Generates the texture coordinates and automatically cut

    Declaration
    public void AutomaticUVMapping(OccurrenceList occurrences, int channel = 0, double maxAngleDistorsion = 0.5, double maxAreaDistorsion = -1, bool sharpToSeam = true, bool forbidOverlapping = true)
    Parameters
    Type Name Description
    OccurrenceList occurrences

    Occurrences of part to process

    int channel

    The UV channel which will contains the texture coordinates

    double maxAngleDistorsion

    Maximum angle distorsion |2PI-SumVtxAng|/2PI

    double maxAreaDistorsion

    Maximum area distorsion before scale to 1. |2DArea-3DArea|/3DArea

    bool sharpToSeam

    If enabled, sharp edges are automatically considered as UV seams

    bool forbidOverlapping

    If enabled, UV cannot overlap

    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)