Scripting API

Angle

struct in UnityEngine.UIElements · UnityEngine.UIElementsModule

17 of 17 of Unity's membersUnity's documentation
In Tassix

An angle in degrees, gradians, radians or turns.

Constructors 1

Angle(float value)
Angle(float value, AngleUnit unit)

Properties 2

AngleUnit unit { get; set; }
float value { get; set; }

Methods 11

static Angle Degrees(float value)
bool Equals(Angle other)
bool Equals(object? obj)
int GetHashCode()
static Angle Gradians(float value)
static Angle Radians(float value)
float ToDegrees()
float ToGradians()
float ToRadians()
string ToString()
float ToTurns()
static Angle Turns(float value)

Operators 3

static implicit operator Angle(float value)
static bool operator !=(Angle lhs, Angle rhs)
static bool operator ==(Angle lhs, Angle rhs)