Redigera

Dela via


Matrix3D.IsIdentity Property

Definition

Determines whether this Matrix3D structure is an identity Matrix3D.

public:
 property bool IsIdentity { bool get(); };
public bool IsIdentity { get; }
member this.IsIdentity : bool
Public ReadOnly Property IsIdentity As Boolean

Property Value

true if the Matrix3D structure is an identity Matrix3D; otherwise, false. The default value is true.

Remarks

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. 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.

Applies to