Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

BackgroundPropertyHelper

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Helper to convert between background properties and ScaleMode.

Static Methods

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