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