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. |