BackgroundPropertyHelper

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Helper to convert between background properties and ScaleMode.

Static Methods

ConvertScaleModeToBackgroundPosition Converts ScaleMode to the equivalent BackgroundPosition property.
ConvertScaleModeToBackgroundRepeat Converts ScaleMode to the equivalent BackgroundRepeat property.
ConvertScaleModeToBackgroundSize Converts ScaleMode to the equivalent BackgroundSize property.
ResolveUnityBackgroundScaleMode Resolves the background properties to a valid ScaleMode.

Did you find this page useful? Please give it a rating: