ConvertScaleModeToBackgroundRepeat(ScaleMode)
Converts ScaleMode to the equivalent BackgroundRepeat property.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
public static BackgroundRepeat ConvertScaleModeToBackgroundRepeat(ScaleMode scaleMode = ScaleMode.StretchToFill)
Parameters
The ScaleMode to convert.
Returns
Type | Description |
|---|---|
| BackgroundRepeat | BackgroundRepeat. |