次の方法で共有


Matrix3D.IsIdentity Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Determines whether this Matrix3D structure is an identity Matrix3D.

Namespace:  System.Windows.Media.Media3D
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property IsIdentity As Boolean
public bool IsIdentity { get; }

Property Value

Type: System.Boolean
true if the Matrix3D 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 differs from other matrices because 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 4 × 4 matrix.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.