XMMatrixIsIdentity

Tests whether a matrix is the identity matrix.

Syntax

bool XMMatrixIsIdentity(
         CXMMATRIX M
)  

Parameters

M
Type: CXMMATRIX 

Matrix to test.

Return value

Type: bool 

Returns true if M is the identity matrix, and false otherwise.

Requirements

Header: Declared in directxmath.h.