This version of Unity is unsupported.

Length

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Represents a distance value.

Properties

unit The unit of the value property.
value The length value.

Constructors

Length Creates from a float and an optional LengthUnit.

Static Methods

Percent Creates a percentage Length from a float.