BackgroundSize
Script interface for VisualElement background-size style property _backgroundSize.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<BackgroundSize>
public struct BackgroundSize : IEquatable<BackgroundSize>
Constructors
Constructor | Description |
|---|---|
| BackgroundSize(UnityEngine.UIElements.BackgroundSizeType) | Create a BackgroundSize using Enum |
| BackgroundSize(UnityEngine.UIElements.Length,UnityEngine.UIElements.Length) | Create a BackgroundSize with x and y repeat |