Struct Matrix
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Assembly: Inferno.Desktop.dll
Syntax
public struct Matrix : IEquatable<Matrix>
Constructors
|
Improve this Doc
View Source
Matrix(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)
Declaration
public Matrix(float m11, float m12, float m13, float m14, float m21, float m22, float m23, float m24, float m31, float m32, float m33, float m34, float m41, float m42, float m43, float m44)
Parameters
Type |
Name |
Description |
System.Single |
m11 |
|
System.Single |
m12 |
|
System.Single |
m13 |
|
System.Single |
m14 |
|
System.Single |
m21 |
|
System.Single |
m22 |
|
System.Single |
m23 |
|
System.Single |
m24 |
|
System.Single |
m31 |
|
System.Single |
m32 |
|
System.Single |
m33 |
|
System.Single |
m34 |
|
System.Single |
m41 |
|
System.Single |
m42 |
|
System.Single |
m43 |
|
System.Single |
m44 |
|
Fields
|
Improve this Doc
View Source
Identity
Declaration
public static readonly Matrix Identity
Field Value
|
Improve this Doc
View Source
M11
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M12
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M13
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M14
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M21
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M22
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M23
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M24
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M31
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M32
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M33
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M34
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M41
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M42
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M43
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
M44
Declaration
Field Value
Type |
Description |
System.Single |
|
Properties
|
Improve this Doc
View Source
Array
Declaration
public float[] Array { get; }
Property Value
Type |
Description |
System.Single[] |
|
|
Improve this Doc
View Source
Backward
Declaration
public Vector3 Backward { get; set; }
Property Value
|
Improve this Doc
View Source
Down
Declaration
public Vector3 Down { get; set; }
Property Value
|
Improve this Doc
View Source
Forward
Declaration
public Vector3 Forward { get; set; }
Property Value
|
Improve this Doc
View Source
Item[Int32]
Declaration
public float this[int index] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
index |
|
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Item[Int32, Int32]
Declaration
public float this[int row, int column] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
row |
|
System.Int32 |
column |
|
Property Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Left
Declaration
public Vector3 Left { get; set; }
Property Value
|
Improve this Doc
View Source
Right
Declaration
public Vector3 Right { get; set; }
Property Value
|
Improve this Doc
View Source
Scale
Declaration
public Vector3 Scale { get; set; }
Property Value
|
Improve this Doc
View Source
Translation
Declaration
public Vector3 Translation { get; set; }
Property Value
|
Improve this Doc
View Source
Up
Declaration
public Vector3 Up { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
CreateOrthographic(Single, Single, Single, Single)
Declaration
public static Matrix CreateOrthographic(float width, float height, float zNear, float zFar)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
System.Single |
zNear |
|
System.Single |
zFar |
|
Returns
|
Improve this Doc
View Source
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single)
Declaration
public static Matrix CreateOrthographicOffCenter(float left, float right, float bottom, float top, float zNear, float zFar)
Parameters
Type |
Name |
Description |
System.Single |
left |
|
System.Single |
right |
|
System.Single |
bottom |
|
System.Single |
top |
|
System.Single |
zNear |
|
System.Single |
zFar |
|
Returns
|
Improve this Doc
View Source
CreateRotationX(Single)
Declaration
public static Matrix CreateRotationX(float degrees)
Parameters
Type |
Name |
Description |
System.Single |
degrees |
|
Returns
|
Improve this Doc
View Source
CreateRotationY(Single)
Declaration
public static Matrix CreateRotationY(float degrees)
Parameters
Type |
Name |
Description |
System.Single |
degrees |
|
Returns
|
Improve this Doc
View Source
CreateRotationZ(Single)
Declaration
public static Matrix CreateRotationZ(float degrees)
Parameters
Type |
Name |
Description |
System.Single |
degrees |
|
Returns
|
Improve this Doc
View Source
CreateScale(Vector3)
Declaration
public static Matrix CreateScale(Vector3 scales)
Parameters
Type |
Name |
Description |
Vector3 |
scales |
|
Returns
|
Improve this Doc
View Source
CreateScale(Single)
Declaration
public static Matrix CreateScale(float scale)
Parameters
Type |
Name |
Description |
System.Single |
scale |
|
Returns
|
Improve this Doc
View Source
CreateScale(Single, Single, Single)
Declaration
public static Matrix CreateScale(float xScale, float yScale, float zScale)
Parameters
Type |
Name |
Description |
System.Single |
xScale |
|
System.Single |
yScale |
|
System.Single |
zScale |
|
Returns
|
Improve this Doc
View Source
CreateTranslation(Vector3)
Declaration
public static Matrix CreateTranslation(Vector3 position)
Parameters
Type |
Name |
Description |
Vector3 |
position |
|
Returns
|
Improve this Doc
View Source
CreateTranslation(Single, Single, Single)
Declaration
public static Matrix CreateTranslation(float xPos, float yPos, float zPos)
Parameters
Type |
Name |
Description |
System.Single |
xPos |
|
System.Single |
yPos |
|
System.Single |
zPos |
|
Returns
|
Improve this Doc
View Source
Equals(Matrix)
Declaration
public bool Equals(Matrix other)
Parameters
Type |
Name |
Description |
Matrix |
other |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
System.ValueType.GetHashCode()
|
Improve this Doc
View Source
Invert()
Declaration
Returns
|
Improve this Doc
View Source
Invert(Matrix)
Declaration
public static Matrix Invert(Matrix matrix)
Parameters
Type |
Name |
Description |
Matrix |
matrix |
|
Returns
Operators
|
Improve this Doc
View Source
Addition(Matrix, Matrix)
Declaration
public static Matrix operator +(Matrix a, Matrix b)
Parameters
Returns
|
Improve this Doc
View Source
Division(Matrix, Matrix)
Declaration
public static Matrix operator /(Matrix a, Matrix b)
Parameters
Returns
|
Improve this Doc
View Source
Division(Matrix, Int32)
Declaration
public static Matrix operator /(Matrix a, int b)
Parameters
Type |
Name |
Description |
Matrix |
a |
|
System.Int32 |
b |
|
Returns
|
Improve this Doc
View Source
Division(Matrix, Single)
Declaration
public static Matrix operator /(Matrix a, float b)
Parameters
Type |
Name |
Description |
Matrix |
a |
|
System.Single |
b |
|
Returns
|
Improve this Doc
View Source
Multiply(Matrix, Matrix)
Declaration
public static Matrix operator *(Matrix a, Matrix b)
Parameters
Returns
|
Improve this Doc
View Source
Multiply(Matrix, Int32)
Declaration
public static Matrix operator *(Matrix a, int b)
Parameters
Type |
Name |
Description |
Matrix |
a |
|
System.Int32 |
b |
|
Returns
|
Improve this Doc
View Source
Multiply(Matrix, Single)
Declaration
public static Matrix operator *(Matrix a, float b)
Parameters
Type |
Name |
Description |
Matrix |
a |
|
System.Single |
b |
|
Returns
|
Improve this Doc
View Source
Subtraction(Matrix, Matrix)
Declaration
public static Matrix operator -(Matrix a, Matrix b)
Parameters
Returns
|
Improve this Doc
View Source
UnaryNegation(Matrix)
Declaration
public static Matrix operator -(Matrix a)
Parameters
Type |
Name |
Description |
Matrix |
a |
|
Returns
Implements
System.IEquatable<T>