docs.unity3d.com
    Show / Hide Table of Contents

    Enum AutoUnwrapSettings.Anchor

    The point from which UV transform operations will be performed.
    After the initial projection into 2d space, UVs will be translated to the anchor position. Next, the offset and rotation are applied, followed by the various other settings.

    Namespace: UnityEngine.ProBuilder
    Syntax
    public enum Anchor

    Fields

    Name Description Value
    UpperLeft

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

    0
    UpperCenter

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

    1
    UpperRight

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

    2
    MiddleLeft

    The middle left bound 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 bound of the projected UVs is aligned with UV coordinate {1, .5}.

    5
    LowerLeft

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

    6
    LowerCenter

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

    7
    LowerRight

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

    8
    None

    UVs are not aligned following projection.

    9
    In This Article
    • Fields
    Back to top
    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