Length
Represents a distance value.
Read time 1 minuteLast updated 5 days ago
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. |