Matrix4x4.isIdentity

public bool isIdentity;

Description

Checks whether this is an identity matrix. (Read Only)

An identity matrix contains 1.0 in the main diagonal, and 0.0 for every other elements.

Additional resources: Matrix4x4.identity property.


Did you find this page useful? Please give it a rating: