docs.unity3d.com
    Show / Hide Table of Contents

    Enum AutoUnwrapSettings.Anchor

    Defines the point from which ProBuilder performs UV transform operations.

    After the initial projection into 2D space, ProBuilder translates UVs to the anchor position. Next, ProBuilder applies the offset and rotation, followed by the other settings.

    Namespace: UnityEngine.ProBuilder
    Syntax
    public enum Anchor

    Fields

    Name Description Value
    UpperLeft

    The top left bounding point of the projected UVs is aligned with UV coordinate {0, 1}.


    0
    UpperCenter

    The center top bounding point of the projected UVs is aligned with UV coordinate {.5, 1}.


    1
    UpperRight

    The right top bounding point of the projected UVs is aligned with UV coordinate {1, 1}.


    2
    MiddleLeft

    The middle left bounding point of the projected UVs is aligned with UV coordinate {0, .5}.


    3
    MiddleCenter

    The center bounding point of the projected UVs is aligned with UV coordinate {.5, .5}.


    4
    MiddleRight

    The middle right bounding point of the projected UVs is aligned with UV coordinate {1, .5}.


    5
    LowerLeft

    The lower left bounding point of the projected UVs is aligned with UV coordinate {0, 0}.


    6
    LowerCenter

    The lower center bounding point of the projected UVs is aligned with UV coordinate {.5, 0}.


    7
    LowerRight

    The lower right bounding point of the projected UVs is aligned with UV coordinate {1, 0}.


    8
    None

    UVs are not aligned with any projection.


    9
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023