Jypeli 10
The simple game programming library
AdvanceMath.Quaternion tietuereferenssi

Summary description for Quaternion. Lisää...

Julkiset jäsenfunktiot

 Quaternion (Scalar W, Scalar X, Scalar Y, Scalar Z)
 Creates a new Quaternion. Lisää...
 
Scalar Dot (Quaternion quat)
 Performs a Dot Product operation on 2 Quaternions. Lisää...
 
override bool Equals (object obj)
 
Quaternion Exp ()
 Calculates the Exponent of a Quaternion. Lisää...
 
override int GetHashCode ()
 
Quaternion Inverse ()
 Computes the inverse of a Quaternion. Lisää...
 
Quaternion Log ()
 Calculates the logarithm of a Quaternion. Lisää...
 
void Normalize ()
 Normalizes elements of this quaterion to the range [0,1]. Lisää...
 
void ToAngleAxis (ref Scalar angle, ref Vector3D aXis)
 
void ToAxis (out Vector3D XAxis, out Vector3D YAxis, out Vector3D ZAxis)
 
Vector3D ToEulerAngles ()
 
void ToEulerAngles (out Scalar pitch, out Scalar Yaw, out Scalar roll)
 
Vector3D ToEulerAnglesInDegrees ()
 
void ToEulerAnglesInDegrees (out Scalar pitch, out Scalar Yaw, out Scalar roll)
 
Matrix3x3 ToRotationMatrix ()
 Gets a 3X3 rotation matriX from this Quaternion. Lisää...
 
override string ToString ()
 Overrides the Object.ToString() method to provide a teXt representation of a Quaternion. Lisää...
 

Staattiset julkiset jäsenfunktiot

static Quaternion Add (Quaternion left, Quaternion right)
 
static void Add (ref Quaternion left, ref Quaternion right, out Quaternion result)
 
static Quaternion FromAngleAxis (Scalar angle, Vector3D aXis)
 Creates a Quaternion from a supplied angle and aXis. Lisää...
 
static Quaternion FromEulerAngles (Scalar pitch, Scalar Yaw, Scalar roll)
 Combines the euler angles in the order Yaw, pitch, roll to create a rotation quaternion Lisää...
 
static Quaternion FromEulerAnglesInDegrees (Scalar pitch, Scalar Yaw, Scalar roll)
 
static Quaternion Multiply (Quaternion left, Quaternion right)
 
static Quaternion Multiply (Quaternion left, Scalar scalar)
 
static void Multiply (ref Quaternion left, ref Quaternion right, out Quaternion result)
 
static void Multiply (ref Quaternion left, ref Scalar scalar, out Quaternion result)
 
static Quaternion Negate (Quaternion value)
 
static void Negate (ref Quaternion value)
 
static void Negate (ref Quaternion value, out Quaternion result)
 
static bool operator!= (Quaternion left, Quaternion right)
 
static Quaternion operator* (Quaternion left, Quaternion right)
 
static Quaternion operator* (Quaternion left, Scalar scalar)
 
static Quaternion operator* (Scalar scalar, Quaternion right)
 
static Quaternion operator+ (Quaternion left, Quaternion right)
 
static Quaternion operator- (Quaternion left, Quaternion right)
 
static Quaternion operator- (Quaternion value)
 
static bool operator== (Quaternion left, Quaternion right)
 
static Quaternion Parse (string text)
 
static Quaternion Slerp (Scalar time, Quaternion quatA, Quaternion quatB)
 
static Quaternion Slerp (Scalar time, Quaternion quatA, Quaternion quatB, bool useShortestPath)
 
static Quaternion Squad (Scalar t, Quaternion p, Quaternion a, Quaternion b, Quaternion q)
 
static Quaternion Squad (Scalar t, Quaternion p, Quaternion a, Quaternion b, Quaternion q, bool useShortestPath)
 Performs spherical quadratic interpolation. Lisää...
 
static Quaternion Subtract (Quaternion left, Quaternion right)
 
static void Subtract (ref Quaternion left, ref Quaternion right, out Quaternion result)
 

Julkiset attribuutit

Scalar W
 
Scalar X
 
Scalar Y
 
Scalar Z
 

Staattiset julkiset attribuutit

static readonly Quaternion Identity = new Quaternion(1, 0, 0, 0)
 An Identity Quaternion. Lisää...
 
static readonly Quaternion Zero = new Quaternion(0, 0, 0, 0)
 A Quaternion With all elements set to 0; Lisää...
 

Ominaisuudet

Scalar Norm [get]
 Squared 'length' of this quaternion. Lisää...
 
Scalar Pitch [getset]
 
Scalar PitchInDegrees [getset]
 
Scalar Roll [getset]
 
Scalar RollInDegrees [getset]
 
Vector3D XAxis [get]
 Local X-aXis portion of this rotation. Lisää...
 
Scalar Yaw [getset]
 
Scalar YawInDegrees [getset]
 
Vector3D YAxis [get]
 Local Y-aXis portion of this rotation. Lisää...
 
Vector3D ZAxis [get]
 Local Z-aXis portion of this rotation. Lisää...
 

Staattiset yksityiset attribuutit

static readonly int[] next = new int[3] { 1, 2, 0 }
 

Yksityiskohtainen selite

Summary description for Quaternion.

Määrittely tiedoston Quaternion.cs rivillä 81.

Rakentajien & purkajien dokumentaatio

◆ Quaternion()

Jäsenfunktioiden dokumentaatio

◆ Add() [1/2]

static Quaternion AdvanceMath.Quaternion.Add ( Quaternion  left,
Quaternion  right 
)
static

◆ Add() [2/2]

static void AdvanceMath.Quaternion.Add ( ref Quaternion  left,
ref Quaternion  right,
out Quaternion  result 
)
static

Määrittely tiedoston Quaternion.cs rivillä 868.

◆ Dot()

Scalar AdvanceMath.Quaternion.Dot ( Quaternion  quat)

Performs a Dot Product operation on 2 Quaternions.

Parametrit
quat
Palauttaa

Määrittely tiedoston Quaternion.cs rivillä 482.

Viittaukset AdvanceMath.Quaternion.W, AdvanceMath.Quaternion.X, AdvanceMath.Quaternion.Y ja AdvanceMath.Quaternion.Z.

Viitattu AdvanceMath.Quaternion.Slerp().

◆ Equals()

override bool AdvanceMath.Quaternion.Equals ( object  obj)

Määrittely tiedoston Quaternion.cs rivillä 810.

Viittaukset AdvanceMath.Quaternion.Quaternion().

◆ Exp()

◆ FromAngleAxis()

static Quaternion AdvanceMath.Quaternion.FromAngleAxis ( Scalar  angle,
Vector3D  aXis 
)
static

◆ FromEulerAngles()

static Quaternion AdvanceMath.Quaternion.FromEulerAngles ( Scalar  pitch,
Scalar  Yaw,
Scalar  roll 
)
static

Combines the euler angles in the order Yaw, pitch, roll to create a rotation quaternion

Parametrit
pitch
Yaw
roll
Palauttaa

Määrittely tiedoston Quaternion.cs rivillä 447.

Viittaukset AdvanceMath.Quaternion.FromAngleAxis(), AdvanceMath.Vector3D.XAxis, AdvanceMath.Quaternion.Yaw, AdvanceMath.Vector3D.YAxis ja AdvanceMath.Vector3D.ZAxis.

Viitattu AdvanceMath.Quaternion.FromEulerAnglesInDegrees().

◆ FromEulerAnglesInDegrees()

static Quaternion AdvanceMath.Quaternion.FromEulerAnglesInDegrees ( Scalar  pitch,
Scalar  Yaw,
Scalar  roll 
)
static

◆ GetHashCode()

override int AdvanceMath.Quaternion.GetHashCode ( )

◆ Inverse()

Quaternion AdvanceMath.Quaternion.Inverse ( )

Computes the inverse of a Quaternion.

Palauttaa

Määrittely tiedoston Quaternion.cs rivillä 568.

Viittaukset AdvanceMath.Quaternion.Quaternion(), AdvanceMath.Quaternion.Z ja AdvanceMath.Quaternion.Zero.

◆ Log()

◆ Multiply() [1/4]

static Quaternion AdvanceMath.Quaternion.Multiply ( Quaternion  left,
Quaternion  right 
)
static

◆ Multiply() [2/4]

static Quaternion AdvanceMath.Quaternion.Multiply ( Quaternion  left,
Scalar  scalar 
)
static

◆ Multiply() [3/4]

static void AdvanceMath.Quaternion.Multiply ( ref Quaternion  left,
ref Quaternion  right,
out Quaternion  result 
)
static

◆ Multiply() [4/4]

static void AdvanceMath.Quaternion.Multiply ( ref Quaternion  left,
ref Scalar  scalar,
out Quaternion  result 
)
static

Määrittely tiedoston Quaternion.cs rivillä 851.

◆ Negate() [1/3]

static Quaternion AdvanceMath.Quaternion.Negate ( Quaternion  value)
static

◆ Negate() [2/3]

static void AdvanceMath.Quaternion.Negate ( ref Quaternion  value)
static

Määrittely tiedoston Quaternion.cs rivillä 902.

Viittaukset AdvanceMath.Quaternion.Negate().

◆ Negate() [3/3]

static void AdvanceMath.Quaternion.Negate ( ref Quaternion  value,
out Quaternion  result 
)
static

Määrittely tiedoston Quaternion.cs rivillä 906.

◆ Normalize()

void AdvanceMath.Quaternion.Normalize ( )

◆ operator!=()

static bool AdvanceMath.Quaternion.operator!= ( Quaternion  left,
Quaternion  right 
)
static

Määrittely tiedoston Quaternion.cs rivillä 984.

◆ operator*() [1/3]

static Quaternion AdvanceMath.Quaternion.operator* ( Quaternion  left,
Quaternion  right 
)
static

◆ operator*() [2/3]

static Quaternion AdvanceMath.Quaternion.operator* ( Quaternion  left,
Scalar  scalar 
)
static

◆ operator*() [3/3]

static Quaternion AdvanceMath.Quaternion.operator* ( Scalar  scalar,
Quaternion  right 
)
static

◆ operator+()

static Quaternion AdvanceMath.Quaternion.operator+ ( Quaternion  left,
Quaternion  right 
)
static

◆ operator-() [1/2]

static Quaternion AdvanceMath.Quaternion.operator- ( Quaternion  left,
Quaternion  right 
)
static

◆ operator-() [2/2]

static Quaternion AdvanceMath.Quaternion.operator- ( Quaternion  value)
static

◆ operator==()

static bool AdvanceMath.Quaternion.operator== ( Quaternion  left,
Quaternion  right 
)
static

◆ Parse()

static Quaternion AdvanceMath.Quaternion.Parse ( string  text)
static

◆ Slerp() [1/2]

static Quaternion AdvanceMath.Quaternion.Slerp ( Scalar  time,
Quaternion  quatA,
Quaternion  quatB 
)
static

◆ Slerp() [2/2]

static Quaternion AdvanceMath.Quaternion.Slerp ( Scalar  time,
Quaternion  quatA,
Quaternion  quatB,
bool  useShortestPath 
)
static

Parametrit
time
quatA
quatB
useShortestPath
Palauttaa

Määrittely tiedoston Quaternion.cs rivillä 107.

Viittaukset AdvanceMath.MathHelper.Acos(), AdvanceMath.Quaternion.Dot(), AdvanceMath.MathHelper.Epsilon, AdvanceMath.Quaternion.Normalize() ja AdvanceMath.MathHelper.Sin().

◆ Squad() [1/2]

static Quaternion AdvanceMath.Quaternion.Squad ( Scalar  t,
Quaternion  p,
Quaternion  a,
Quaternion  b,
Quaternion  q 
)
static

Määrittely tiedoston Quaternion.cs rivillä 160.

Viittaukset AdvanceMath.Quaternion.Squad().

Viitattu AdvanceMath.Quaternion.Squad().

◆ Squad() [2/2]

static Quaternion AdvanceMath.Quaternion.Squad ( Scalar  t,
Quaternion  p,
Quaternion  a,
Quaternion  b,
Quaternion  q,
bool  useShortestPath 
)
static

Performs spherical quadratic interpolation.

Parametrit
t
p
a
b
q
useShortestPath
Palauttaa

Määrittely tiedoston Quaternion.cs rivillä 174.

Viittaukset AdvanceMath.Quaternion.Slerp().

◆ Subtract() [1/2]

static Quaternion AdvanceMath.Quaternion.Subtract ( Quaternion  left,
Quaternion  right 
)
static

◆ Subtract() [2/2]

static void AdvanceMath.Quaternion.Subtract ( ref Quaternion  left,
ref Quaternion  right,
out Quaternion  result 
)
static

Määrittely tiedoston Quaternion.cs rivillä 885.

◆ ToAngleAxis()

void AdvanceMath.Quaternion.ToAngleAxis ( ref Scalar  angle,
ref Vector3D  aXis 
)

◆ ToAxis()

◆ ToEulerAngles() [1/2]

◆ ToEulerAngles() [2/2]

◆ ToEulerAnglesInDegrees() [1/2]

Vector3D AdvanceMath.Quaternion.ToEulerAnglesInDegrees ( )

◆ ToEulerAnglesInDegrees() [2/2]

void AdvanceMath.Quaternion.ToEulerAnglesInDegrees ( out Scalar  pitch,
out Scalar  Yaw,
out Scalar  roll 
)

◆ ToRotationMatrix()

◆ ToString()

override string AdvanceMath.Quaternion.ToString ( )

Overrides the Object.ToString() method to provide a teXt representation of a Quaternion.

Palauttaa
A string representation of a Quaternion.

Määrittely tiedoston Quaternion.cs rivillä 776.

Jäsendatan dokumentaatio

◆ Identity

readonly Quaternion AdvanceMath.Quaternion.Identity = new Quaternion(1, 0, 0, 0)
static

An Identity Quaternion.

Määrittely tiedoston Quaternion.cs rivillä 87.

◆ next

readonly int [] AdvanceMath.Quaternion.next = new int[3] { 1, 2, 0 }
staticprivate

Määrittely tiedoston Quaternion.cs rivillä 92.

◆ W

◆ X

◆ Y

◆ Z

◆ Zero

readonly Quaternion AdvanceMath.Quaternion.Zero = new Quaternion(0, 0, 0, 0)
static

A Quaternion With all elements set to 0;

Määrittely tiedoston Quaternion.cs rivillä 91.

Viitattu AdvanceMath.Quaternion.Exp(), AdvanceMath.Quaternion.Inverse() ja AdvanceMath.Quaternion.Log().

Ominaisuuksien dokumentaatio

◆ Norm

Scalar AdvanceMath.Quaternion.Norm
get

Squared 'length' of this quaternion.

Määrittely tiedoston Quaternion.cs rivillä 228.

Viitattu AdvanceMath.Quaternion.Normalize().

◆ Pitch

Scalar AdvanceMath.Quaternion.Pitch
getset

Määrittely tiedoston Quaternion.cs rivillä 324.

◆ PitchInDegrees

Scalar AdvanceMath.Quaternion.PitchInDegrees
getset

Määrittely tiedoston Quaternion.cs rivillä 317.

◆ Roll

Scalar AdvanceMath.Quaternion.Roll
getset

Määrittely tiedoston Quaternion.cs rivillä 359.

◆ RollInDegrees

Scalar AdvanceMath.Quaternion.RollInDegrees
getset

Määrittely tiedoston Quaternion.cs rivillä 321.

◆ XAxis

Vector3D AdvanceMath.Quaternion.XAxis
get

Local X-aXis portion of this rotation.

Määrittely tiedoston Quaternion.cs rivillä 239.

Viitattu AdvanceMath.Quaternion.ToAxis().

◆ Yaw

◆ YawInDegrees

Scalar AdvanceMath.Quaternion.YawInDegrees
getset

Määrittely tiedoston Quaternion.cs rivillä 319.

◆ YAxis

Vector3D AdvanceMath.Quaternion.YAxis
get

Local Y-aXis portion of this rotation.

Määrittely tiedoston Quaternion.cs rivillä 266.

Viitattu AdvanceMath.Quaternion.ToAxis().

◆ ZAxis

Vector3D AdvanceMath.Quaternion.ZAxis
get

Local Z-aXis portion of this rotation.

Määrittely tiedoston Quaternion.cs rivillä 293.

Viitattu AdvanceMath.Quaternion.ToAxis().


Dokumentaatio tälle tietueelle luotiin seuraavasta tiedostosta: