Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
UnityEngine.QuaternionD Struct Reference

Public Member Functions

override bool Equals (object other)
 
void FrameVectors (out Vector3d frameX, out Vector3d frameY, out Vector3d frameZ)
 
override int GetHashCode ()
 
 QuaternionD (double x, double y, double z, double w)
 
 QuaternionD (Vector3d X, Vector3d Y, Vector3d Z)
 
void SetAxisAngle (Vector3d axis, double angle)
 
void SetEulerAngles (double x, double y, double z)
 
void SetEulerAngles (Vector3d euler)
 
void SetEulerRotation (double x, double y, double z)
 
void SetEulerRotation (Vector3d euler)
 
void SetFromToRotation (Vector3d fromDirection, Vector3d toDirection)
 
void SetLookRotation (Vector3d view)
 
void SetLookRotation (Vector3d view, Vector3d up)
 
void ToAngleAxis (out double angle, out Vector3d axis)
 
void ToAxisAngle (out Vector3d axis, out double angle)
 
Vector3d ToEuler ()
 
Vector3d ToEulerAngles ()
 
override string ToString ()
 
string ToString (string format)
 

Static Public Member Functions

static double Angle (QuaternionD a, QuaternionD b)
 
static QuaternionD AngleAxis (double angle, Vector3d axis)
 
static QuaternionD AxisAngle (Vector3d axis, double angle)
 
static double Dot (QuaternionD a, QuaternionD b)
 
static QuaternionD Euler (double x, double y, double z)
 
static QuaternionD Euler (Vector3d euler)
 
static QuaternionD EulerAngles (double x, double y, double z)
 
static QuaternionD EulerAngles (Vector3d euler)
 
static QuaternionD EulerRotation (double x, double y, double z)
 
static QuaternionD EulerRotation (Vector3d euler)
 
static QuaternionD FromToRotation (Vector3d fromDirection, Vector3d toDirection)
 
static QuaternionD Inverse (QuaternionD q)
 
static QuaternionD Lerp (QuaternionD from, QuaternionD to, double t)
 
static QuaternionD LookRotation (Vector3d forward, Vector3d up)
 Create a look rotation More...
 
static QuaternionD LookRotation (Vector3d forward)
 
static implicit operator QuaternionD (UnityEngine.Quaternion q)
 
static implicit operator UnityEngine.Quaternion (QuaternionD q)
 
static bool operator!= (QuaternionD lhs, QuaternionD rhs)
 
static QuaternionD operator* (QuaternionD lhs, QuaternionD rhs)
 
static Vector3d operator* (QuaternionD rotation, Vector3d point)
 
static bool operator== (QuaternionD lhs, QuaternionD rhs)
 
static QuaternionD RotateTowards (QuaternionD from, QuaternionD to, double maxDegreesDelta)
 
static QuaternionD Slerp (QuaternionD from, QuaternionD to, double t)
 
static Vector3d ToEulerAngles (QuaternionD rotation)
 

Public Attributes

double w
 
double x
 
double y
 
double z
 

Properties

Vector3d eulerAngles [get, set]
 
static QuaternionD identity [get]
 
QuaternionD swizzle [get]
 
double this[int index] [get, set]
 

Constructor & Destructor Documentation

UnityEngine.QuaternionD.QuaternionD ( double  x,
double  y,
double  z,
double  w 
)
inline
UnityEngine.QuaternionD.QuaternionD ( Vector3d  X,
Vector3d  Y,
Vector3d  Z 
)
inline

Member Function Documentation

static double UnityEngine.QuaternionD.Angle ( QuaternionD  a,
QuaternionD  b 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.AngleAxis ( double  angle,
Vector3d  axis 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.AxisAngle ( Vector3d  axis,
double  angle 
)
inlinestatic
static double UnityEngine.QuaternionD.Dot ( QuaternionD  a,
QuaternionD  b 
)
inlinestatic
override bool UnityEngine.QuaternionD.Equals ( object  other)
inline
static QuaternionD UnityEngine.QuaternionD.Euler ( double  x,
double  y,
double  z 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.Euler ( Vector3d  euler)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.EulerAngles ( double  x,
double  y,
double  z 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.EulerAngles ( Vector3d  euler)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.EulerRotation ( double  x,
double  y,
double  z 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.EulerRotation ( Vector3d  euler)
inlinestatic
void UnityEngine.QuaternionD.FrameVectors ( out Vector3d  frameX,
out Vector3d  frameY,
out Vector3d  frameZ 
)
inline
static QuaternionD UnityEngine.QuaternionD.FromToRotation ( Vector3d  fromDirection,
Vector3d  toDirection 
)
inlinestatic
override int UnityEngine.QuaternionD.GetHashCode ( )
inline
static QuaternionD UnityEngine.QuaternionD.Inverse ( QuaternionD  q)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.Lerp ( QuaternionD  from,
QuaternionD  to,
double  t 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.LookRotation ( Vector3d  forward,
Vector3d  up 
)
inlinestatic

Create a look rotation

Parameters
forward
up
Returns
static QuaternionD UnityEngine.QuaternionD.LookRotation ( Vector3d  forward)
inlinestatic
static implicit UnityEngine.QuaternionD.operator QuaternionD ( UnityEngine.Quaternion  q)
inlinestatic
static implicit UnityEngine.QuaternionD.operator UnityEngine.Quaternion ( QuaternionD  q)
inlinestatic
static bool UnityEngine.QuaternionD.operator!= ( QuaternionD  lhs,
QuaternionD  rhs 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.operator* ( QuaternionD  lhs,
QuaternionD  rhs 
)
inlinestatic
static Vector3d UnityEngine.QuaternionD.operator* ( QuaternionD  rotation,
Vector3d  point 
)
inlinestatic
static bool UnityEngine.QuaternionD.operator== ( QuaternionD  lhs,
QuaternionD  rhs 
)
inlinestatic
static QuaternionD UnityEngine.QuaternionD.RotateTowards ( QuaternionD  from,
QuaternionD  to,
double  maxDegreesDelta 
)
inlinestatic
void UnityEngine.QuaternionD.SetAxisAngle ( Vector3d  axis,
double  angle 
)
inline
void UnityEngine.QuaternionD.SetEulerAngles ( double  x,
double  y,
double  z 
)
inline
void UnityEngine.QuaternionD.SetEulerAngles ( Vector3d  euler)
inline
void UnityEngine.QuaternionD.SetEulerRotation ( double  x,
double  y,
double  z 
)
inline
void UnityEngine.QuaternionD.SetEulerRotation ( Vector3d  euler)
inline
void UnityEngine.QuaternionD.SetFromToRotation ( Vector3d  fromDirection,
Vector3d  toDirection 
)
inline
void UnityEngine.QuaternionD.SetLookRotation ( Vector3d  view)
inline
void UnityEngine.QuaternionD.SetLookRotation ( Vector3d  view,
Vector3d  up 
)
inline
static QuaternionD UnityEngine.QuaternionD.Slerp ( QuaternionD  from,
QuaternionD  to,
double  t 
)
inlinestatic
void UnityEngine.QuaternionD.ToAngleAxis ( out double  angle,
out Vector3d  axis 
)
inline
void UnityEngine.QuaternionD.ToAxisAngle ( out Vector3d  axis,
out double  angle 
)
inline
Vector3d UnityEngine.QuaternionD.ToEuler ( )
inline
static Vector3d UnityEngine.QuaternionD.ToEulerAngles ( QuaternionD  rotation)
inlinestatic
Vector3d UnityEngine.QuaternionD.ToEulerAngles ( )
inline
override string UnityEngine.QuaternionD.ToString ( )
inline
string UnityEngine.QuaternionD.ToString ( string  format)
inline

Member Data Documentation

double UnityEngine.QuaternionD.w
double UnityEngine.QuaternionD.x
double UnityEngine.QuaternionD.y
double UnityEngine.QuaternionD.z

Property Documentation

Vector3d UnityEngine.QuaternionD.eulerAngles
getset
QuaternionD UnityEngine.QuaternionD.identity
staticget
QuaternionD UnityEngine.QuaternionD.swizzle
get
double UnityEngine.QuaternionD.this[int index]
getset

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