Function

SCNMatrix4IsIdentity

Returns a Boolean value that indicates whether the specified matrix is equal to the identity matrix.

Declaration

bool SCNMatrix4IsIdentity(SCNMatrix4 m);

Parameters

mat

The matrix to be tested.

Return Value

True if the elements on the matrix’s diagonal are 1.0 and all other elements are 0.0.

See Also

Comparing Matrices

SCNMatrix4EqualToMatrix4

Returns a Boolean value that indicates whether the corresponding elements of two matrices are equal.