aspectRatio
Sets a preferred aspect ratio for the box, which will be used in the calculation of auto sizes and some other layout functions.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
StyleRatio aspectRatio { get; set; }