共用方式為


Matrix3D.Identity Property

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

Changes a Matrix3D structure into an identity Matrix3D.

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

Syntax

'Declaration
Public Shared ReadOnly Property Identity As Matrix3D
public static Matrix3D Identity { get; }

Property Value

Type: System.Windows.Media.Media3D.Matrix3D
The identity Matrix3D.

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.