This version of Unity is unsupported.

Angle

struct in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

Represents an angle value.

Properties

unit The unit of the value property.
value The angle value.

Constructors

Angle Creates an Angle from a float and an optionnal AngleUnit.

Public Methods

ToDegrees Returns the value of the angle, expressed in degrees.

Static Methods

Degrees Creates a percentage Angle from a float.