2 instantiations of Matrix4x4
System.Numerics (2)
System\Numerics\Matrix4x4.cs (2)
83
private static readonly Matrix4x4 _identity = new
Matrix4x4
1422
result = new
Matrix4x4
(float.NaN, float.NaN, float.NaN, float.NaN,
128 references to Matrix4x4
System.Numerics (128)
System\Numerics\Matrix4x4.cs (117)
11
public struct Matrix4x4 : IEquatable<
Matrix4x4
>
83
private static readonly
Matrix4x4
_identity = new Matrix4x4
94
public static
Matrix4x4
Identity
192
public static
Matrix4x4
CreateBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 cameraUpVector, Vector3 cameraForwardVector)
216
Matrix4x4
result;
248
public static
Matrix4x4
CreateConstrainedBillboard(Vector3 objectPosition, Vector3 cameraPosition, Vector3 rotateAxis, Vector3 cameraForwardVector, Vector3 objectForwardVector)
298
Matrix4x4
result;
326
public static
Matrix4x4
CreateTranslation(Vector3 position)
328
Matrix4x4
result;
358
public static
Matrix4x4
CreateTranslation(float xPosition, float yPosition, float zPosition)
360
Matrix4x4
result;
390
public static
Matrix4x4
CreateScale(float xScale, float yScale, float zScale)
392
Matrix4x4
result;
422
public static
Matrix4x4
CreateScale(float xScale, float yScale, float zScale, Vector3 centerPoint)
424
Matrix4x4
result;
455
public static
Matrix4x4
CreateScale(Vector3 scales)
457
Matrix4x4
result;
485
public static
Matrix4x4
CreateScale(Vector3 scales, Vector3 centerPoint)
487
Matrix4x4
result;
518
public static
Matrix4x4
CreateScale(float scale)
520
Matrix4x4
result;
548
public static
Matrix4x4
CreateScale(float scale, Vector3 centerPoint)
550
Matrix4x4
result;
581
public static
Matrix4x4
CreateRotationX(float radians)
583
Matrix4x4
result;
618
public static
Matrix4x4
CreateRotationX(float radians, Vector3 centerPoint)
620
Matrix4x4
result;
657
public static
Matrix4x4
CreateRotationY(float radians)
659
Matrix4x4
result;
694
public static
Matrix4x4
CreateRotationY(float radians, Vector3 centerPoint)
696
Matrix4x4
result;
733
public static
Matrix4x4
CreateRotationZ(float radians)
735
Matrix4x4
result;
770
public static
Matrix4x4
CreateRotationZ(float radians, Vector3 centerPoint)
772
Matrix4x4
result;
810
public static
Matrix4x4
CreateFromAxisAngle(Vector3 axis, float angle)
842
Matrix4x4
result;
872
public static
Matrix4x4
CreatePerspectiveFieldOfView(float fieldOfView, float aspectRatio, float nearPlaneDistance, float farPlaneDistance)
889
Matrix4x4
result;
915
public static
Matrix4x4
CreatePerspective(float width, float height, float nearPlaneDistance, float farPlaneDistance)
926
Matrix4x4
result;
954
public static
Matrix4x4
CreatePerspectiveOffCenter(float left, float right, float bottom, float top, float nearPlaneDistance, float farPlaneDistance)
965
Matrix4x4
result;
992
public static
Matrix4x4
CreateOrthographic(float width, float height, float zNearPlane, float zFarPlane)
994
Matrix4x4
result;
1022
public static
Matrix4x4
CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNearPlane, float zFarPlane)
1024
Matrix4x4
result;
1050
public static
Matrix4x4
CreateLookAt(Vector3 cameraPosition, Vector3 cameraTarget, Vector3 cameraUpVector)
1056
Matrix4x4
result;
1085
public static
Matrix4x4
CreateWorld(Vector3 position, Vector3 forward, Vector3 up)
1091
Matrix4x4
result;
1118
public static
Matrix4x4
CreateFromQuaternion(Quaternion quaternion)
1120
Matrix4x4
result;
1160
public static
Matrix4x4
CreateFromYawPitchRoll(float yaw, float pitch, float roll)
1164
return
Matrix4x4
.CreateFromQuaternion(q);
1173
public static
Matrix4x4
CreateShadow(Vector3 lightDirection, Plane plane)
1183
Matrix4x4
result;
1213
public static
Matrix4x4
CreateReflection(Plane value)
1225
Matrix4x4
result;
1307
public static bool Invert(
Matrix4x4
matrix, out
Matrix4x4
result)
1493
public static bool Decompose(
Matrix4x4
matrix, out Vector3 scale, out Quaternion rotation, out Vector3 translation)
1508
Matrix4x4
matTemp =
Matrix4x4
.Identity;
1691
public static
Matrix4x4
Transform(
Matrix4x4
value, Quaternion rotation)
1720
Matrix4x4
result;
1754
public static
Matrix4x4
Transpose(
Matrix4x4
matrix)
1756
Matrix4x4
result;
1785
public static
Matrix4x4
Lerp(
Matrix4x4
matrix1,
Matrix4x4
matrix2, float amount)
1787
Matrix4x4
result;
1821
public static
Matrix4x4
Negate(
Matrix4x4
value)
1823
Matrix4x4
result;
1851
public static
Matrix4x4
Add(
Matrix4x4
value1,
Matrix4x4
value2)
1853
Matrix4x4
result;
1881
public static
Matrix4x4
Subtract(
Matrix4x4
value1,
Matrix4x4
value2)
1883
Matrix4x4
result;
1911
public static
Matrix4x4
Multiply(
Matrix4x4
value1,
Matrix4x4
value2)
1913
Matrix4x4
result;
1948
public static
Matrix4x4
Multiply(
Matrix4x4
value1, float value2)
1950
Matrix4x4
result;
1977
public static
Matrix4x4
operator -(
Matrix4x4
value)
1979
Matrix4x4
m;
2007
public static
Matrix4x4
operator +(
Matrix4x4
value1,
Matrix4x4
value2)
2009
Matrix4x4
m;
2037
public static
Matrix4x4
operator -(
Matrix4x4
value1,
Matrix4x4
value2)
2039
Matrix4x4
m;
2067
public static
Matrix4x4
operator *(
Matrix4x4
value1,
Matrix4x4
value2)
2069
Matrix4x4
m;
2104
public static
Matrix4x4
operator *(
Matrix4x4
value1, float value2)
2106
Matrix4x4
m;
2133
public static bool operator ==(
Matrix4x4
value1,
Matrix4x4
value2)
2148
public static bool operator !=(
Matrix4x4
value1,
Matrix4x4
value2)
2161
public bool Equals(
Matrix4x4
other)
2177
if (obj is
Matrix4x4
)
2179
return Equals((
Matrix4x4
)obj);
System\Numerics\Plane.cs (3)
161
public static Plane Transform(Plane plane,
Matrix4x4
matrix)
163
Matrix4x4
m;
164
Matrix4x4
.Invert(matrix, out m);
System\Numerics\Quaternion.cs (1)
219
public static Quaternion CreateFromRotationMatrix(
Matrix4x4
matrix)
System\Numerics\Vector2.cs (2)
291
public static Vector2 Transform(Vector2 position,
Matrix4x4
matrix)
319
public static Vector2 TransformNormal(Vector2 normal,
Matrix4x4
matrix)
System\Numerics\Vector3.cs (2)
317
public static Vector3 Transform(Vector3 position,
Matrix4x4
matrix)
332
public static Vector3 TransformNormal(Vector3 normal,
Matrix4x4
matrix)
System\Numerics\Vector4.cs (3)
288
public static Vector4 Transform(Vector2 position,
Matrix4x4
matrix)
304
public static Vector4 Transform(Vector3 position,
Matrix4x4
matrix)
320
public static Vector4 Transform(Vector4 vector,
Matrix4x4
matrix)