VR Tunnelling Pro
Plug-and-Play VR Comfort
Sigtrap.VrTunnellingPro.Angle3 Struct Reference

Public Member Functions

 Angle3 (float x, float y, float z)
 
 Angle3 (Angle x, Angle y, Angle z)
 
 Angle3 (Vector3 euler)
 
 Angle3 (Quaternion rotation)
 
void ToAxisAngle (out Vector3 axis, out Angle angle)
 Convert to axis angle representation. More...
 
Vector3 ToEuler (Angle.AngleType type)
 Get Euler angles expressed as specified AngleType. More...
 
override string ToString ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static Angle3 operator+ (Angle3 a, Angle3 b)
 
static Angle3 operator- (Angle3 a, Angle3 b)
 
static Angle3 operator* (Angle3 a, float b)
 
static bool operator== (Angle3 a, Angle3 b)
 
static bool operator!= (Angle3 a, Angle3 b)
 
static implicit operator Angle3 (Vector3 v)
 

Public Attributes

Angle x
 
Angle y
 
Angle z
 

Properties

Vector3 eulerAngles [get]
 Angles expressed from 0 to 360. More...
 
Vector3 eulerAcute [get]
 Angles expressed from -180 to +180. More...
 
Vector3 eulerReflex [get]
 Angles expressed from ±(180 to 360). More...
 
Angle angle [get]
 Resultant angle. Use Angle3.axis to get the associated axis. More...
 
Vector3 axis [get]
 Resultant axis. Use Angle3.angle to get the associated angle. More...
 

Member Function Documentation

◆ ToAxisAngle()

void Sigtrap.VrTunnellingPro.Angle3.ToAxisAngle ( out Vector3  axis,
out Angle  angle 
)
inline

Convert to axis angle representation.

◆ ToEuler()

Vector3 Sigtrap.VrTunnellingPro.Angle3.ToEuler ( Angle.AngleType  type)
inline

Get Euler angles expressed as specified AngleType.

Property Documentation

◆ angle

Angle Sigtrap.VrTunnellingPro.Angle3.angle
get

Resultant angle. Use Angle3.axis to get the associated axis.

◆ axis

Vector3 Sigtrap.VrTunnellingPro.Angle3.axis
get

Resultant axis. Use Angle3.angle to get the associated angle.

◆ eulerAcute

Vector3 Sigtrap.VrTunnellingPro.Angle3.eulerAcute
get

Angles expressed from -180 to +180.

E.g. -10 => -10

E.g. 10 => 10

E.g. 580 => 220

◆ eulerAngles

Vector3 Sigtrap.VrTunnellingPro.Angle3.eulerAngles
get

Angles expressed from 0 to 360.

E.g. -10 => 350

E.g. 10 => 10

E.g. 580 => -140

◆ eulerReflex

Vector3 Sigtrap.VrTunnellingPro.Angle3.eulerReflex
get

Angles expressed from ±(180 to 360).

E.g. -10 => 350

E.g. 10 => -350

E.g. 580 => 220


The documentation for this struct was generated from the following file: