BackgroundPosition
Script interface for VisualElement background-position style property BackgroundPosition.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<BackgroundPosition>
public struct BackgroundPosition : IEquatable<BackgroundPosition>
Fields
Constructors
Constructor | Description |
|---|---|
| BackgroundPosition(UnityEngine.UIElements.BackgroundPositionKeyword) | Initialize from single position type |
| BackgroundPosition(UnityEngine.UIElements.BackgroundPositionKeyword,UnityEngine.UIElements.Length) | Initialize from x position type with x offset |