Matrix3D.IsIdentity 属性

定义

确定此 Matrix3D 结构是否为单位 Matrix3D。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

属性值

如果 Matrix3D 结构为单位 Matrix3D,则为 true;否则为 falsetrue if the Matrix3D structure is an identity Matrix3D; otherwise, false. 默认值为 trueThe default value is true.

注解

在恒等矩阵中,所有系数均为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.

适用于