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 |
---|---|
LowerCenter | The lower center bound of the projected UVs is aligned with UV coordinate {.5, 0}. |
LowerLeft | The lower left bound of the projected UVs is aligned with UV coordinate {0, 0}. |
LowerRight | The lower right bound 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 bound of the projected UVs is aligned with UV coordinate {0, .5}. |
MiddleRight | The middle right bound of the projected UVs is aligned with UV coordinate {1, .5}. |
None | UVs are not aligned following projection. |
UpperCenter | The center top bound of the projected UVs is aligned with UV coordinate {.5, 1}. |
UpperLeft | The top left bound of the projected UVs is aligned with UV coordinate {0, 1}. |
UpperRight | The right top bound of the projected UVs is aligned with UV coordinate {1, 1}. |