DominantAxis
Last updated
DominantAxis is an Enum that defines the priority axis when specifying the size of GUI elements.
This is used in the DominantAxis property of UIAspectRatioConstraint and determines in which axis (horizontal or vertical) should be prioritized when UI elements scale larger than their parent.
Width
0
Prioritizes the horizontal axis (width).
Height
1
Prioritizes the vertical axis (height).
Last updated