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
Assembly: Unity.ProBuilder.dll
Syntax
public enum AutoUnwrapSettings.Anchor
Fields
Name | Description |
---|---|
LowerCenter | The lower center bounding point of the projected UVs is aligned with UV coordinate {.5, 0}. |
LowerLeft | The lower left bounding point of the projected UVs is aligned with UV coordinate {0, 0}. |
LowerRight | The lower right bounding point of the projected UVs is aligned with UV coordinate {1, 0}. |
MiddleCenter | The center bounding point of the projected UVs is aligned with UV coordinate {.5, .5}. |
MiddleLeft | The middle left bounding point of the projected UVs is aligned with UV coordinate {0, .5}. |
MiddleRight | The middle right bounding point of the projected UVs is aligned with UV coordinate {1, .5}. |
None | UVs are not aligned with any projection. |
UpperCenter | The center top bounding point of the projected UVs is aligned with UV coordinate {.5, 1}. |
UpperLeft | The top left bounding point of the projected UVs is aligned with UV coordinate {0, 1}. |
UpperRight | The right top bounding point of the projected UVs is aligned with UV coordinate {1, 1}. |