ConvertScaleModeToBackgroundPosition(ScaleMode)
Converts ScaleMode to the equivalent BackgroundPosition property.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static BackgroundPosition ConvertScaleModeToBackgroundPosition(ScaleMode scaleMode = ScaleMode.StretchToFill)
Parameters
The ScaleMode to convert.
Returns
Type | Description |
|---|---|
| BackgroundPosition | BackgroundPosition. |