Matrix.Identity Property |
Language: |
Retrieves the identity of the matrix.
Visual Basic Public Shared ReadOnly Property Identity As Matrix C# public static Matrix Identity { get; } C++ public:
static property Matrix Identity {
Matrix get();
}JScript public static function get Identity() : Matrix
Microsoft.DirectX.Matrix
This property is read-only.
A Matrix structure that represents the matrix identity.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center