Ratio(float)
Create a ratio from a float value.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Constructor
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public Ratio(float value)
Parameters
represent the actual ratio. A values of 0 and is not valid for use with the aspect-ratio property.