Mac Guides | Samples

MonoMac.OpenGL.Matrix4d Structure

Represents a 4x4 Matrix with double-precision components.

See Also: Matrix4d

Syntax

public struct Matrix4d : IEquatable<Matrix4d>

Requirements

Namespace: MonoMac.OpenGL
Assembly: XamMac (in XamMac.dll)
Assembly Versions: 0.0.0.0

The members of MonoMac.OpenGL.Matrix4d are listed below.

See Also: ValueType

Public Constructors

Constructs a new instance.
Constructs a new instance.

Public Fields

static
IdentityMatrix4d. The identity matrix
Row0Vector4d. Top row of the matrix
Row1Vector4d. 2nd row of the matrix
Row2Vector4d. 3rd row of the matrix
Row3Vector4d. Bottom row of the matrix

Public Properties

[read-only]
Column0Vector4d. The first column of this matrix
[read-only]
Column1Vector4d. The second column of this matrix
[read-only]
Column2Vector4d. The third column of this matrix
[read-only]
Column3Vector4d. The fourth column of this matrix
[read-only]
DeterminantDouble. The determinant of this matrix
M11Double. Gets or sets the value at row 1, column 1 of this instance.
M12Double. Gets or sets the value at row 1, column 2 of this instance.
M13Double. Gets or sets the value at row 1, column 3 of this instance.
M14Double. Gets or sets the value at row 1, column 4 of this instance.
M21Double. Gets or sets the value at row 2, column 1 of this instance.
M22Double. Gets or sets the value at row 2, column 2 of this instance.
M23Double. Gets or sets the value at row 2, column 3 of this instance.
M24Double. Gets or sets the value at row 2, column 4 of this instance.
M31Double. Gets or sets the value at row 3, column 1 of this instance.
M32Double. Gets or sets the value at row 3, column 2 of this instance.
M33Double. Gets or sets the value at row 3, column 3 of this instance.
M34Double. Gets or sets the value at row 3, column 4 of this instance.
M41Double. Gets or sets the value at row 4, column 1 of this instance.
M42Double. Gets or sets the value at row 4, column 2 of this instance.
M43Double. Gets or sets the value at row 4, column 3 of this instance.
M44Double. Gets or sets the value at row 4, column 4 of this instance.

Public Methods

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

Public Operators

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