ResolveUnityBackgroundScaleMode(BackgroundPosition, BackgroundPosition, BackgroundRepeat, BackgroundSize, out bool)
Resolves the background properties to a valid ScaleMode.
Read time 1 minuteLast updated 13 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
ResolveUnityBackgroundScaleMode(BackgroundPosition, BackgroundPosition, BackgroundRepeat, BackgroundSize, bool)
public static ScaleMode ResolveUnityBackgroundScaleMode(BackgroundPosition backgroundPositionX, BackgroundPosition backgroundPositionY, BackgroundRepeat backgroundRepeat, BackgroundSize backgroundSize, out bool valid)
Parameters
The X BackgroundPosition to resolve.
The Y BackgroundPosition to resolve.
The BackgroundRepeat to resolve.
The BackgroundSize to resolve.
Indicates whether the background properties resolve to a valid ScaleMode.
Returns
Type | Description |
|---|---|
| ScaleMode | ScaleMode. |