Depiction Engine For Unity 2023.0 (Alpha)
Loading...
Searching...
No Matches
DepictionEngine.QuaternionDouble Struct Reference

A 64 bit double version of the Quaternion. More...

Public Member Functions

 QuaternionDouble (double x, double y, double z, double w)
 
 QuaternionDouble (Vector3Double xyz, double w)
 
void Set (double new_x, double new_y, double new_z, double new_w)
 
void SetFromToRotation (Vector3Double fromDirection, Vector3Double toDirection)
 
void SetLookRotation (Vector3Double view)
 
void SetLookRotation (Vector3Double view, [DefaultValue("Vector3Double.up")] Vector3Double up)
 
void ToAngleAxis (out double angle, out Vector3Double axis)
 
override string ToString ()
 
override int GetHashCode ()
 
override bool Equals (object other)
 
string ToString (string format)
 

Static Public Member Functions

static double Angle (QuaternionDouble a, QuaternionDouble b)
 
static QuaternionDouble AngleAxis (double angle, Vector3Double axis)
 
static double Dot (QuaternionDouble a, QuaternionDouble b)
 
static QuaternionDouble Euler (Vector3Double euler)
 
static QuaternionDouble Euler (double x, double y, double z)
 
static QuaternionDouble FromToRotation (Vector3Double fromDirection, Vector3Double toDirection)
 
static QuaternionDouble Inverse (QuaternionDouble rotation)
 
static QuaternionDouble Lerp (QuaternionDouble a, QuaternionDouble b, double t)
 
static QuaternionDouble LerpUnclamped (QuaternionDouble a, QuaternionDouble b, double t)
 
static QuaternionDouble LookRotation (Vector3Double forward)
 
static QuaternionDouble LookRotation (Vector3Double forward, [DefaultValue("Vector3Double.up")] Vector3Double upwards)
 
static QuaternionDouble RotateTowards (QuaternionDouble from, QuaternionDouble to, double maxDegreesDelta)
 
static QuaternionDouble Slerp (QuaternionDouble a, QuaternionDouble b, double t)
 
static QuaternionDouble SlerpUnclamped (QuaternionDouble q1, QuaternionDouble q2, double t)
 
static Matrix4x4Double QuaternionToMatrix (QuaternionDouble quat)
 
static QuaternionDouble operator* (QuaternionDouble lhs, QuaternionDouble rhs)
 
static QuaternionDouble operator* (QuaternionDouble lhs, Quaternion rhs)
 
static Vector3Double operator* (QuaternionDouble rotation, Vector3Double point)
 
static bool operator== (QuaternionDouble lhs, QuaternionDouble rhs)
 
static bool operator!= (QuaternionDouble lhs, QuaternionDouble rhs)
 
static implicit operator QuaternionDouble (Quaternion quat)
 
static implicit operator Quaternion (QuaternionDouble quat)
 

Public Attributes

double x
 
double y
 
double z
 
double w
 

Properties

Vector3Double xyz [get]
 
double this[int index] [get, set]
 
static QuaternionDouble identity [get]
 
Vector3Double eulerAngles [get]
 
QuaternionDouble normalized [get]
 

Detailed Description

A 64 bit double version of the Quaternion.


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