AspectType is an Enum that defines how to maintain the aspect ratio of UI elements.
This is used in the AspectType property of UIAspectRatioConstraint and determines how UI elements scale to fit their parent or maximum size.
FitWithinMaxSize
0
Fits content to the maximum allowed size while maintaining its aspect ratio.
ScaleWithParentSize
1
Scales content in proportion to its parentβs size changes.
Last updated 11 days ago