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