Düzenle

Aracılığıyla paylaş


Matrix4d Struct

Definition

Represents a 4x4 Matrix with double-precision components.

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

Constructors

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

Constructs a new instance.

Fields

Identity

The identity matrix

Row0

Top row of the matrix

Row1

2nd row of the matrix

Row2

3rd row of the matrix

Row3

Bottom row of the matrix

Properties

Column0

The first column of this matrix

Column1

The second column of this matrix

Column2

The third column of this matrix

Column3

The fourth column of this matrix

Determinant

The determinant of this matrix

M11

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

M12

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

M13

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

M14

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

M21

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

M22

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

M23

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

M24

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

M31

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

M32

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

M33

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

M34

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

M41

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

M42

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

M43

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

M44

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

Methods

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

Creates an orthographic projection matrix.

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

Creates an orthographic projection matrix.

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

Creates a translation matrix.

CreateTranslation(Vector3d)
CreateTranslation(Vector3d, Matrix4d)

Creates a translation matrix.

Equals(Matrix4d)

Indicates whether the current matrix is equal to another matrix.

Equals(Object)

Indicates whether this instance and a specified object are equal.

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

Returns the hashcode for this instance.

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

Multiplies two instances.

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

Returns a System.String that represents the current Matrix44.

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

Calculate the transpose of the given matrix

Operators

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

Applies to