Matrix4d Matrix4d Struct

Definition

Represents a 4x4 Matrix with double-precision components.

[System.Serializable]
public struct Matrix4d : IEquatable<OpenTK.Matrix4d>
type Matrix4d = struct
Inheritance
Matrix4dMatrix4d
Attributes
Implements

Constructors

Matrix4d(Vector4d, Vector4d, Vector4d, Vector4d) Matrix4d(Vector4d, Vector4d, Vector4d, Vector4d)

Constructs a new instance.

Matrix4d(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) Matrix4d(Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double)

Fields

Identity Identity

The identity matrix

Row0 Row0

Top row of the matrix

Row1 Row1

2nd row of the matrix

Row2 Row2

3rd row of the matrix

Row3 Row3

Bottom row of the matrix

Properties

Column0 Column0

The first column of this matrix

Column1 Column1

The second column of this matrix

Column2 Column2

The third column of this matrix

Column3 Column3

The fourth column of this matrix

Determinant Determinant

The determinant of this matrix

M11 M11

Gets or sets the value at row 1, column 1 of this instance.

M12 M12

Gets or sets the value at row 1, column 2 of this instance.

M13 M13

Gets or sets the value at row 1, column 3 of this instance.

M14 M14

Gets or sets the value at row 1, column 4 of this instance.

M21 M21

Gets or sets the value at row 2, column 1 of this instance.

M22 M22

Gets or sets the value at row 2, column 2 of this instance.

M23 M23

Gets or sets the value at row 2, column 3 of this instance.

M24 M24

Gets or sets the value at row 2, column 4 of this instance.

M31 M31

Gets or sets the value at row 3, column 1 of this instance.

M32 M32

Gets or sets the value at row 3, column 2 of this instance.

M33 M33

Gets or sets the value at row 3, column 3 of this instance.

M34 M34

Gets or sets the value at row 3, column 4 of this instance.

M41 M41

Gets or sets the value at row 4, column 1 of this instance.

M42 M42

Gets or sets the value at row 4, column 3 of this instance.

M43 M43

Gets or sets the value at row 4, column 3 of this instance.

M44 M44

Gets or sets the value at row 4, column 4 of this instance.

Methods

CreateFromAxisAngle(Vector3d, Double) CreateFromAxisAngle(Vector3d, Double)
CreateFromAxisAngle(Vector3d, Double, Matrix4d) CreateFromAxisAngle(Vector3d, Double, Matrix4d)
CreateOrthographic(Double, Double, Double, Double, Matrix4d) CreateOrthographic(Double, Double, Double, Double, Matrix4d)

Creates an orthographic projection matrix.

CreateOrthographic(Double, Double, Double, Double) CreateOrthographic(Double, Double, Double, Double)
CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double) CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double)
CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double, Matrix4d) CreateOrthographicOffCenter(Double, Double, Double, Double, Double, Double, Matrix4d)

Creates an orthographic projection matrix.

CreatePerspectiveFieldOfView(Double, Double, Double, Double) CreatePerspectiveFieldOfView(Double, Double, Double, Double)
CreatePerspectiveFieldOfView(Double, Double, Double, Double, Matrix4d) CreatePerspectiveFieldOfView(Double, Double, Double, Double, Matrix4d)
CreatePerspectiveOffCenter(Double, Double, Double, Double, Double, Double) CreatePerspectiveOffCenter(Double, Double, Double, Double, Double, Double)
CreatePerspectiveOffCenter(Double, Double, Double, Double, Double, Double, Matrix4d) CreatePerspectiveOffCenter(Double, Double, Double, Double, Double, Double, Matrix4d)
CreateRotationX(Double, Matrix4d) CreateRotationX(Double, Matrix4d)
CreateRotationX(Double) CreateRotationX(Double)
CreateRotationY(Double, Matrix4d) CreateRotationY(Double, Matrix4d)
CreateRotationY(Double) CreateRotationY(Double)
CreateRotationZ(Double) CreateRotationZ(Double)
CreateRotationZ(Double, Matrix4d) CreateRotationZ(Double, Matrix4d)
CreateTranslation(Vector3d) CreateTranslation(Vector3d)
CreateTranslation(Vector3d, Matrix4d) CreateTranslation(Vector3d, Matrix4d)

Creates a translation matrix.

CreateTranslation(Double, Double, Double) CreateTranslation(Double, Double, Double)
CreateTranslation(Double, Double, Double, Matrix4d) CreateTranslation(Double, Double, Double, Matrix4d)

Creates a translation matrix.

Equals(Object) Equals(Object)

Indicates whether this instance and a specified object are equal.

Equals(Matrix4d) Equals(Matrix4d)

Indicates whether the current matrix is equal to another matrix.

Frustum(Double, Double, Double, Double, Double, Double) Frustum(Double, Double, Double, Double, Double, Double)
GetHashCode() GetHashCode()

Returns the hashcode for this instance.

Invert() Invert()
Invert(Matrix4d) Invert(Matrix4d)
Invert(Matrix4d) Invert(Matrix4d)
LookAt(Double, Double, Double, Double, Double, Double, Double, Double, Double) LookAt(Double, Double, Double, Double, Double, Double, Double, Double, Double)
LookAt(Vector3d, Vector3d, Vector3d) LookAt(Vector3d, Vector3d, Vector3d)
Mult(Matrix4d, Matrix4d) Mult(Matrix4d, Matrix4d)
Mult(Matrix4d, Matrix4d, Matrix4d) Mult(Matrix4d, Matrix4d, Matrix4d)

Multiplies two instances.

Perspective(Double, Double, Double, Double) Perspective(Double, Double, Double, Double)
Rotate(Quaterniond) Rotate(Quaterniond)
Rotate(Vector3d, Double) Rotate(Vector3d, Double)
RotateX(Double) RotateX(Double)
RotateY(Double) RotateY(Double)
RotateZ(Double) RotateZ(Double)
Scale(Vector3d) Scale(Vector3d)
Scale(Double) Scale(Double)
Scale(Double, Double, Double) Scale(Double, Double, Double)
ToString() ToString()

Returns a System.String that represents the current Matrix44.

Translation(Vector3d) Translation(Vector3d)
Translation(Double, Double, Double) Translation(Double, Double, Double)
Transpose() Transpose()
Transpose(Matrix4d) Transpose(Matrix4d)
Transpose(Matrix4d, Matrix4d) Transpose(Matrix4d, Matrix4d)

Calculate the transpose of the given matrix

Operators

Equality(Matrix4d, Matrix4d) Equality(Matrix4d, Matrix4d)
Inequality(Matrix4d, Matrix4d) Inequality(Matrix4d, Matrix4d)
Multiply(Matrix4d, Matrix4d) Multiply(Matrix4d, Matrix4d)

Applies to