Length
Represents a distance value.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Struct
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
- Implements: IEquatable<Length>
public struct Length : IEquatable<Length>
Constructors
Constructor | Description |
|---|---|
| Length(System.Single) | Creates from a float and an optional LengthUnit. |
| Length(System.Single,UnityEngine.UIElements.LengthUnit) | Creates from a float and an optional LengthUnit. |