StyleScale
Style value that can be either a Scale or a StyleKeyword.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IStyleValue<Scale>, IEquatable<StyleScale>
public struct StyleScale : IStyleValue<Scale>, IEquatable<StyleScale>
Constructors
Constructor | Description |
|---|---|
| StyleScale(UnityEngine.UIElements.Scale) | Creates a new StyleScale from a Scale. |
| StyleScale(UnityEngine.UIElements.StyleKeyword) | Creates a new StyleScale from a StyleKeyword. |
| StyleScale(UnityEngine.Vector2) | Creates a new StyleScale from a Vector2. |