Matrix3D.Identity 屬性

定義

Matrix3D 結構變更為單位 Matrix3DChanges a Matrix3D structure into an identity Matrix3D.

public:
 static property System::Windows::Media::Media3D::Matrix3D Identity { System::Windows::Media::Media3D::Matrix3D get(); };
public static System.Windows.Media.Media3D.Matrix3D Identity { get; }
member this.Identity : System.Windows.Media.Media3D.Matrix3D
Public Shared ReadOnly Property Identity As Matrix3D

屬性值

單位 Matrix3D。The identity Matrix3D.

備註

在 身分識別矩陣,所有係數都是 0,除非 [1,1] [2,2] [3,3] [4,4] 的係數,都會設定為 1。In an identity matrix, all coefficients are 0 except the [1,1][2,2][3,3][4,4] coefficients, which are set to 1. 識別矩陣特別適用于將它套用至頂點時,它們會保持不變。The identity matrix is special in that when it is applied to vertices, they are unchanged. 識別矩陣會當做矩陣的起點,修改頂點值以建立旋轉、轉譯,以及可由4x4 矩陣表示的任何其他轉換。The identity matrix is used as the starting point for matrices that modify vertex values to create rotations, translations, and any other transformations that can be represented by a 4x4 matrix.

適用於