Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Quaternion Struct Reference

Public Member Functions

 Quaternion (float x, float y, float z, float w)
 
 Quaternion (Vector3 vectorPart, float scalarPart)
 
override string ToString ()
 
bool Equals (Quaternion other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
float LengthSquared ()
 
float Length ()
 
void Normalize ()
 
void Conjugate ()
 
bool Equals (T? other)
 

Static Public Member Functions

static Quaternion Normalize (Quaternion quaternion)
 
static void Normalize (ref Quaternion quaternion, out Quaternion result)
 
static Quaternion Conjugate (Quaternion value)
 
static void Conjugate (ref Quaternion value, out Quaternion result)
 
static Quaternion Inverse (Quaternion quaternion)
 
static void Inverse (ref Quaternion quaternion, out Quaternion result)
 
static Quaternion CreateFromAxisAngle (Vector3 axis, float angle)
 
static void CreateFromAxisAngle (ref Vector3 axis, float angle, out Quaternion result)
 
static Quaternion CreateFromYawPitchRoll (float yaw, float pitch, float roll)
 
static void CreateFromYawPitchRoll (float yaw, float pitch, float roll, out Quaternion result)
 
static Quaternion CreateFromRotationMatrix (Matrix matrix)
 
static void CreateFromRotationMatrix (ref Matrix matrix, out Quaternion result)
 
static float Dot (Quaternion quaternion1, Quaternion quaternion2)
 
static void Dot (ref Quaternion quaternion1, ref Quaternion quaternion2, out float result)
 
static Quaternion Slerp (Quaternion quaternion1, Quaternion quaternion2, float amount)
 
static void Slerp (ref Quaternion quaternion1, ref Quaternion quaternion2, float amount, out Quaternion result)
 
static Quaternion Lerp (Quaternion quaternion1, Quaternion quaternion2, float amount)
 
static void Lerp (ref Quaternion quaternion1, ref Quaternion quaternion2, float amount, out Quaternion result)
 
static Quaternion Concatenate (Quaternion value1, Quaternion value2)
 
static void Concatenate (ref Quaternion value1, ref Quaternion value2, out Quaternion result)
 
static Quaternion Negate (Quaternion quaternion)
 
static void Negate (ref Quaternion quaternion, out Quaternion result)
 
static Quaternion Add (Quaternion quaternion1, Quaternion quaternion2)
 
static void Add (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static Quaternion Subtract (Quaternion quaternion1, Quaternion quaternion2)
 
static void Subtract (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static Quaternion Multiply (Quaternion quaternion1, Quaternion quaternion2)
 
static void Multiply (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static Quaternion Multiply (Quaternion quaternion1, float scaleFactor)
 
static void Multiply (ref Quaternion quaternion1, float scaleFactor, out Quaternion result)
 
static Quaternion Divide (Quaternion quaternion1, Quaternion quaternion2)
 
static void Divide (ref Quaternion quaternion1, ref Quaternion quaternion2, out Quaternion result)
 
static Quaternion operator- (Quaternion quaternion)
 
static bool operator== (Quaternion quaternion1, Quaternion quaternion2)
 
static bool operator!= (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator+ (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator- (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator* (Quaternion quaternion1, Quaternion quaternion2)
 
static Quaternion operator* (Quaternion quaternion1, float scaleFactor)
 
static Quaternion operator/ (Quaternion quaternion1, Quaternion quaternion2)
 

Public Attributes

float X
 
float Y
 
float Z
 
float W
 

Properties

static Quaternion Identity [get]
 

Static Private Attributes

static Quaternion _identity = new Quaternion(0f, 0f, 0f, 1f)
 

Detailed Description

Definition at line 11 of file Quaternion.cs.


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