3 instantiations of Quaternion
System.Numerics (3)
System\Numerics\Quaternion.cs (3)
36
get { return new
Quaternion
(0, 0, 0, 1); }
223
Quaternion q = new
Quaternion
();
347
Quaternion r = new
Quaternion
();
95 references to Quaternion
System.Numerics (95)
System\Numerics\Matrix4x4.cs (7)
1118
public static Matrix4x4 CreateFromQuaternion(
Quaternion
quaternion)
1162
Quaternion
q =
Quaternion
.CreateFromYawPitchRoll(yaw, pitch, roll);
1493
public static bool Decompose(Matrix4x4 matrix, out Vector3 scale, out
Quaternion
rotation, out Vector3 translation)
1671
rotation =
Quaternion
.Identity;
1677
rotation =
Quaternion
.CreateFromRotationMatrix(matTemp);
1691
public static Matrix4x4 Transform(Matrix4x4 value,
Quaternion
rotation)
System\Numerics\Plane.cs (1)
183
public static Plane Transform(Plane plane,
Quaternion
rotation)
System\Numerics\Quaternion.cs (82)
12
public struct Quaternion : IEquatable<
Quaternion
>
34
public static
Quaternion
Identity
100
public static
Quaternion
Normalize(
Quaternion
value)
102
Quaternion
ans;
121
public static
Quaternion
Conjugate(
Quaternion
value)
123
Quaternion
ans;
138
public static
Quaternion
Inverse(
Quaternion
value)
144
Quaternion
ans;
163
public static
Quaternion
CreateFromAxisAngle(Vector3 axis, float angle)
165
Quaternion
ans;
186
public static
Quaternion
CreateFromYawPitchRoll(float yaw, float pitch, float roll)
204
Quaternion
result;
219
public static
Quaternion
CreateFromRotationMatrix(Matrix4x4 matrix)
223
Quaternion
q = new Quaternion();
274
public static float Dot(
Quaternion
quaternion1,
Quaternion
quaternion2)
289
public static
Quaternion
Slerp(
Quaternion
quaternion1,
Quaternion
quaternion2, float amount)
325
Quaternion
ans;
342
public static
Quaternion
Lerp(
Quaternion
quaternion1,
Quaternion
quaternion2, float amount)
347
Quaternion
r = new Quaternion();
385
public static
Quaternion
Concatenate(
Quaternion
value1,
Quaternion
value2)
387
Quaternion
ans;
421
public static
Quaternion
Negate(
Quaternion
value)
423
Quaternion
ans;
439
public static
Quaternion
Add(
Quaternion
value1,
Quaternion
value2)
441
Quaternion
ans;
457
public static
Quaternion
Subtract(
Quaternion
value1,
Quaternion
value2)
459
Quaternion
ans;
475
public static
Quaternion
Multiply(
Quaternion
value1,
Quaternion
value2)
477
Quaternion
ans;
510
public static
Quaternion
Multiply(
Quaternion
value1, float value2)
512
Quaternion
ans;
528
public static
Quaternion
Divide(
Quaternion
value1,
Quaternion
value2)
530
Quaternion
ans;
571
public static
Quaternion
operator -(
Quaternion
value)
573
Quaternion
ans;
589
public static
Quaternion
operator +(
Quaternion
value1,
Quaternion
value2)
591
Quaternion
ans;
607
public static
Quaternion
operator -(
Quaternion
value1,
Quaternion
value2)
609
Quaternion
ans;
625
public static
Quaternion
operator *(
Quaternion
value1,
Quaternion
value2)
627
Quaternion
ans;
660
public static
Quaternion
operator *(
Quaternion
value1, float value2)
662
Quaternion
ans;
678
public static
Quaternion
operator /(
Quaternion
value1,
Quaternion
value2)
680
Quaternion
ans;
722
public static bool operator ==(
Quaternion
value1,
Quaternion
value2)
736
public static bool operator !=(
Quaternion
value1,
Quaternion
value2)
749
public bool Equals(
Quaternion
other)
764
if (obj is
Quaternion
)
766
return Equals((
Quaternion
)obj);
System\Numerics\Vector2.cs (1)
333
public static Vector2 Transform(Vector2 value,
Quaternion
rotation)
System\Numerics\Vector3.cs (1)
347
public static Vector3 Transform(Vector3 value,
Quaternion
rotation)
System\Numerics\Vector4.cs (3)
336
public static Vector4 Transform(Vector2 value,
Quaternion
rotation)
366
public static Vector4 Transform(Vector3 value,
Quaternion
rotation)
396
public static Vector4 Transform(Vector4 value,
Quaternion
rotation)