StyleFloat
Style value that can be either a float or a StyleKeyword.
阅读时间1 分钟最后更新于 1 个月前
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. |