Class Matrix4x4
Inheritance
System.Object
Matrix4x4
Assembly: Sylves.dll
Syntax
public sealed class Matrix4x4 : ValueType
Constructors
Matrix4x4(Vector4, Vector4, Vector4, Vector4)
Declaration
public Matrix4x4(Vector4 column0, Vector4 column1, Vector4 column2, Vector4 column3)
Parameters
Fields
column0
Declaration
Field Value
column1
Declaration
Field Value
column2
Declaration
Field Value
column3
Declaration
Field Value
Properties
determinant
Declaration
public float determinant { get; }
Property Value
Type |
Description |
System.Single |
|
identity
Declaration
public static Matrix4x4 identity { get; }
Property Value
inverse
Declaration
public Matrix4x4 inverse { get; }
Property Value
isIdentity
Declaration
public bool isIdentity { get; }
Property Value
Type |
Description |
System.Boolean |
|
lossyScale
Declaration
public Vector3 lossyScale { get; }
Property Value
m00
Declaration
public float m00 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m01
Declaration
public float m01 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m02
Declaration
public float m02 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m03
Declaration
public float m03 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m10
Declaration
public float m10 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m11
Declaration
public float m11 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m12
Declaration
public float m12 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m13
Declaration
public float m13 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m20
Declaration
public float m20 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m21
Declaration
public float m21 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m22
Declaration
public float m22 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m23
Declaration
public float m23 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m30
Declaration
public float m30 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m31
Declaration
public float m31 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m32
Declaration
public float m32 { get; set; }
Property Value
Type |
Description |
System.Single |
|
m33
Declaration
public float m33 { get; set; }
Property Value
Type |
Description |
System.Single |
|
rotation
Declaration
public Quaternion rotation { get; }
Property Value
transpose
Declaration
public Matrix4x4 transpose { get; }
Property Value
zero
Declaration
public static Matrix4x4 zero { get; }
Property Value
Methods
Determinant(Matrix4x4)
Declaration
public static float Determinant(Matrix4x4 m)
Parameters
Returns
Type |
Description |
System.Single |
|
Equals(Matrix4x4)
Declaration
public bool Equals(Matrix4x4 other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Equals(Object)
Declaration
public override bool Equals(object other)
Parameters
Type |
Name |
Description |
System.Object |
other |
|
Returns
Type |
Description |
System.Boolean |
|
GetColumn(Int32)
Declaration
public Vector4 GetColumn(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
GetRow(Int32)
Declaration
public Vector4 GetRow(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Returns
Inverse(Matrix4x4)
Declaration
public static Matrix4x4 Inverse(Matrix4x4 m)
Parameters
Returns
MultiplyPoint(Vector3)
Declaration
public Vector3 MultiplyPoint(Vector3 point)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
Returns
MultiplyPoint3x4(Vector3)
Declaration
public Vector3 MultiplyPoint3x4(Vector3 point)
Parameters
Type |
Name |
Description |
Vector3 |
point |
|
Returns
MultiplyVector(Vector3)
Declaration
public Vector3 MultiplyVector(Vector3 vector)
Parameters
Type |
Name |
Description |
Vector3 |
vector |
|
Returns
Rotate(Quaternion)
Declaration
public static Matrix4x4 Rotate(Quaternion q)
Parameters
Returns
Scale(Vector3)
Declaration
public static Matrix4x4 Scale(Vector3 vector)
Parameters
Type |
Name |
Description |
Vector3 |
vector |
|
Returns
SetColumn(Int32, Vector4)
Declaration
public void SetColumn(int index, Vector4 column)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Vector4 |
column |
|
SetRow(Int32, Vector4)
Declaration
public void SetRow(int index, Vector4 row)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Vector4 |
row |
|
SetTRS(Vector3, Quaternion, Vector3)
Declaration
public void SetTRS(Vector3 pos, Quaternion q, Vector3 s)
Parameters
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
ToString(String)
Declaration
public string ToString(string format)
Parameters
Type |
Name |
Description |
System.String |
format |
|
Returns
Type |
Description |
System.String |
|
Translate(Vector3)
Declaration
public static Matrix4x4 Translate(Vector3 vector)
Parameters
Type |
Name |
Description |
Vector3 |
vector |
|
Returns
Transpose(Matrix4x4)
Declaration
public static Matrix4x4 Transpose(Matrix4x4 m)
Parameters
Returns
TRS(Vector3, Quaternion, Vector3)
Declaration
public static Matrix4x4 TRS(Vector3 pos, Quaternion q, Vector3 s)
Parameters
Returns
Operators
Equality(Matrix4x4, Matrix4x4)
Declaration
public static bool operator ==(Matrix4x4 lhs, Matrix4x4 rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Inequality(Matrix4x4, Matrix4x4)
Declaration
public static bool operator !=(Matrix4x4 lhs, Matrix4x4 rhs)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Multiply(Matrix4x4, Matrix4x4)
Declaration
public static Matrix4x4 operator *(Matrix4x4 lhs, Matrix4x4 rhs)
Parameters
Returns
Multiply(Matrix4x4, Vector4)
Declaration
public static Vector4 operator *(Matrix4x4 lhs, Vector4 vector)
Parameters
Returns
Implements
System.IEquatable<>