Ratio(float)
Create a ratio from a float value.
阅读时间1 分钟最后更新于 1 个月前
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.