共用方式為


Matrix4 結構

定義

代表 4x4 矩陣

[System.Serializable]
public struct Matrix4 : IEquatable<OpenTK.Matrix4>
type Matrix4 = struct
繼承
Matrix4
屬性
實作

建構函式

Matrix4(Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single, Single)

建構新的實例。

Matrix4(Vector4, Vector4, Vector4, Vector4)

建構新的實例。

欄位

Identity

識別矩陣

Row0

矩陣頂端資料列

Row1

矩陣的第 2 列

Row2

矩陣的第三列

Row3

矩陣的底端資料列

屬性

Column0

此矩陣的第一個資料行

Column1

此矩陣的第二個數據行

Column2

此矩陣的第三個數據行

Column3

此矩陣的第四個數據行

Determinant

此矩陣的行列式

M11

取得或設定這個實例第 1 列第 1 欄的值。

M12

取得或設定這個實例第 1 列第 2 欄的值。

M13

取得或設定這個實例之資料列 1,第 3 欄的值。

M14

取得或設定這個實例的資料列 1,第 4 欄的值。

M21

取得或設定這個實例第 2 列第 1 欄的值。

M22

取得或設定這個實例第 2 列第 2 欄的值。

M23

取得或設定這個實例第 2 列第 3 欄的值。

M24

取得或設定這個實例第 2 列第 4 欄的值。

M31

取得或設定這個實例第 3 列第 1 欄的值。

M32

取得或設定這個實例之第 3 列第 2 欄的值。

M33

取得或設定這個實例第 3 列第 3 欄的值。

M34

取得或設定這個實例第 3 列第 4 欄的值。

M41

取得或設定這個實例之資料列 4,第 1 欄的值。

M42

取得或設定這個實例之資料列 4,第 3 欄的值。

M43

取得或設定這個實例之資料列 4,第 3 欄的值。

M44

取得或設定這個實例之資料列 4,第 4 欄的值。

方法

CreateFromAxisAngle(Vector3, Single)

代表 4x4 矩陣

CreateFromAxisAngle(Vector3, Single, Matrix4)

代表 4x4 矩陣

CreateOrthographic(Single, Single, Single, Single)

代表 4x4 矩陣

CreateOrthographic(Single, Single, Single, Single, Matrix4)

建立正視投影矩陣。

CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single)

代表 4x4 矩陣

CreateOrthographicOffCenter(Single, Single, Single, Single, Single, Single, Matrix4)

建立正視投影矩陣。

CreatePerspectiveFieldOfView(Single, Single, Single, Single)

代表 4x4 矩陣

CreatePerspectiveFieldOfView(Single, Single, Single, Single, Matrix4)

建立透視投影矩陣。

CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single)

代表 4x4 矩陣

CreatePerspectiveOffCenter(Single, Single, Single, Single, Single, Single, Matrix4)

建立透視投影矩陣。

CreateRotationX(Single)

代表 4x4 矩陣

CreateRotationX(Single, Matrix4)

代表 4x4 矩陣

CreateRotationY(Single)

代表 4x4 矩陣

CreateRotationY(Single, Matrix4)

代表 4x4 矩陣

CreateRotationZ(Single)

代表 4x4 矩陣

CreateRotationZ(Single, Matrix4)

代表 4x4 矩陣

CreateTranslation(Single, Single, Single)

代表 4x4 矩陣

CreateTranslation(Single, Single, Single, Matrix4)

建立轉移矩陣。

CreateTranslation(Vector3)

代表 4x4 矩陣

CreateTranslation(Vector3, Matrix4)

建立轉移矩陣。

Equals(Matrix4)

指出目前的矩陣是否等於另一個矩陣。

Equals(Object)

指示這個執行個體和指定的物件是否相等。

Frustum(Single, Single, Single, Single, Single, Single)
已淘汰.

代表 4x4 矩陣

GetHashCode()

傳回這個實例的雜湊碼。

Invert()

代表 4x4 矩陣

Invert(Matrix4)

代表 4x4 矩陣

Invert(Matrix4)

代表 4x4 矩陣

LookAt(Single, Single, Single, Single, Single, Single, Single, Single, Single)

代表 4x4 矩陣

LookAt(Vector3, Vector3, Vector3)

代表 4x4 矩陣

Mult(Matrix4, Matrix4)

代表 4x4 矩陣

Mult(Matrix4, Matrix4, Matrix4)

乘以兩個實例。

Perspective(Single, Single, Single, Single)
已淘汰.

代表 4x4 矩陣

Rotate(Quaternion)

代表 4x4 矩陣

Rotate(Vector3, Single)
已淘汰.

代表 4x4 矩陣

RotateX(Single)
已淘汰.

代表 4x4 矩陣

RotateY(Single)
已淘汰.

代表 4x4 矩陣

RotateZ(Single)
已淘汰.

代表 4x4 矩陣

Scale(Single)

代表 4x4 矩陣

Scale(Single, Single, Single)

代表 4x4 矩陣

Scale(Vector3)

代表 4x4 矩陣

ToString()

會傳回代表目前 Matrix44 的 System.String。

Translation(Single, Single, Single)
已淘汰.

代表 4x4 矩陣

Translation(Vector3)
已淘汰.

代表 4x4 矩陣

Transpose()

計算這個實例的轉置。

Transpose(Matrix4)

代表 4x4 矩陣

Transpose(Matrix4, Matrix4)

計算指定矩陣的轉置

運算子

Equality(Matrix4, Matrix4)

代表 4x4 矩陣

Inequality(Matrix4, Matrix4)

代表 4x4 矩陣

Multiply(Matrix4, Matrix4)

代表 4x4 矩陣

適用於