Urho.Matrix4 Structure

Represents a 4x4 Matrix

See Also: Matrix4

Syntax

public struct Matrix4 : IEquatable<Matrix4>

Requirements

Namespace: Urho
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0

The members of Urho.Matrix4 are listed below.

See Also: ValueType

Public Constructors

Constructs a new instance.
Constructs a new instance.

Public Fields

static
IdentityMatrix4. The identity matrix
Row0Vector4. Top row of the matrix
Row1Vector4. 2nd row of the matrix
Row2Vector4. 3rd row of the matrix
Row3Vector4. Bottom row of the matrix

Public Properties

[read-only]
Column0Vector4. The first column of this matrix
[read-only]
Column1Vector4. The second column of this matrix
[read-only]
Column2Vector4. The third column of this matrix
[read-only]
Column3Vector4. The fourth column of this matrix
[read-only]
DeterminantSingle. The determinant of this matrix
M11Single. Gets or sets the value at row 1, column 1 of this instance.
M12Single. Gets or sets the value at row 1, column 2 of this instance.
M13Single. Gets or sets the value at row 1, column 3 of this instance.
M14Single. Gets or sets the value at row 1, column 4 of this instance.
M21Single. Gets or sets the value at row 2, column 1 of this instance.
M22Single. Gets or sets the value at row 2, column 2 of this instance.
M23Single. Gets or sets the value at row 2, column 3 of this instance.
M24Single. Gets or sets the value at row 2, column 4 of this instance.
M31Single. Gets or sets the value at row 3, column 1 of this instance.
M32Single. Gets or sets the value at row 3, column 2 of this instance.
M33Single. Gets or sets the value at row 3, column 3 of this instance.
M34Single. Gets or sets the value at row 3, column 4 of this instance.
M41Single. Gets or sets the value at row 4, column 1 of this instance.
M42Single. Gets or sets the value at row 4, column 2 of this instance.
M43Single. Gets or sets the value at row 4, column 3 of this instance.
M44Single. Gets or sets the value at row 4, column 4 of this instance.
[read-only]
Matrix3Matrix3.
[read-only]
RotationQuaternion.
[read-only]
RotationMatrixMatrix3.

Public Methods

static
CreateFromAxisAngle(Vector3, Single) : Matrix4
Build a rotation matrix from the specified axis/angle rotation.
static
CreateFromAxisAngle(Vector3, Single, out Matrix4)
Build a rotation matrix from the specified axis/angle rotation.
static
CreateOrthographic(Single, Single, Single, Single) : Matrix4
Creates an orthographic projection matrix.
static
CreateOrthographic(Single, Single, Single, Single, out Matrix4)
Creates an orthographic projection matrix.
static
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single) : Matrix4
Creates an orthographic projection matrix.
static
CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, out Matrix4)
Creates an orthographic projection matrix.
static
CreatePerspectiveFieldOfView(Single, Single, Single, Single) : Matrix4
Creates a perspective projection matrix.
static
CreatePerspectiveFieldOfView(Single, Single, Single, Single, out Matrix4)
Creates a perspective projection matrix.
static
CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single) : Matrix4
Creates an perspective projection matrix.
static
CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single, out Matrix4)
Creates an perspective projection matrix.
static
CreateRotationX(Single) : Matrix4
Builds a rotation matrix for a rotation around the x-axis.
static
CreateRotationX(Single, out Matrix4)
Builds a rotation matrix for a rotation around the x-axis.
static
CreateRotationY(Single) : Matrix4
Builds a rotation matrix for a rotation around the y-axis.
static
CreateRotationY(Single, out Matrix4)
Builds a rotation matrix for a rotation around the y-axis.
static
CreateRotationZ(Single) : Matrix4
Builds a rotation matrix for a rotation around the z-axis.
static
CreateRotationZ(Single, out Matrix4)
Builds a rotation matrix for a rotation around the z-axis.
static
CreateTranslation(Vector3) : Matrix4
Creates a translation matrix.
static
CreateTranslation(ref Vector3, out Matrix4)
Creates a translation matrix.
static
CreateTranslation(Single, Single, Single) : Matrix4
Creates a translation matrix.
static
CreateTranslation(Single, Single, Single, out Matrix4)
Creates a translation matrix.
override
Equals(Object) : Boolean
Indicates whether this instance and a specified object are equal.
Equals(Matrix4) : Boolean
Indicates whether the current matrix is equal to another matrix.
static
Frustum(Single, Single, Single, Single, Single, Single) : Matrix4
Build a projection matrix
override
GetHashCode() : Int32
Returns the hashcode for this instance.
Invert()
Converts this instance into its inverse.
static
Invert(Matrix4) : Matrix4
Calculate the inverse of the given matrix
static
LookAt(Vector3, Vector3, Vector3) : Matrix4
Build a world space to camera space matrix
static
LookAt(Single, Single, Single, Single, Single, Single, Single, Single, Single) : Matrix4
Build a world space to camera space matrix
static
Mult(Matrix4, Matrix4) : Matrix4
Multiplies two instances.
static
Mult(ref Matrix4, ref Matrix4, out Matrix4)
Multiplies two instances.
static
Perspective(Single, Single, Single, Single) : Matrix4
Build a projection matrix
static
Rotate(Quaternion) : Matrix4
Build a rotation matrix from a quaternion
static
Rotate(Vector3, Single) : Matrix4
Build a rotation matrix to rotate about the given axis
static
RotateX(Single) : Matrix4
Build a rotation matrix that rotates about the x-axis
static
RotateY(Single) : Matrix4
Build a rotation matrix that rotates about the y-axis
static
RotateZ(Single) : Matrix4
Build a rotation matrix that rotates about the z-axis
static
Scale(Single) : Matrix4
Build a scaling matrix
static
Scale(Vector3) : Matrix4
Build a scaling matrix
static
Scale(Single, Single, Single) : Matrix4
Build a scaling matrix
override
ToString() : String
Returns a System.String that represents the current Matrix44.
static
Translation(Vector3) : Matrix4
Builds a translation matrix.
static
Translation(Single, Single, Single) : Matrix4
Build a translation matrix with the given translation
Transpose()
Converts this instance into its transpose.
static
Transpose(Matrix4) : Matrix4
Calculate the transpose of the given matrix
static
Transpose(ref Matrix4, out Matrix4)
Calculate the transpose of the given matrix

Public Operators

static
Equality(Matrix4, Matrix4) Compares two instances for equality.
static
Inequality(Matrix4, Matrix4) Compares two instances for inequality.
static
Multiply(Matrix4, Matrix4) Matrix multiplication