Cogl.MatrixEntry.prototype.is_identity

function is_identity(): Cogl.Bool {
    // Gjs wrapper for cogl_matrix_entry_is_identity()
}
  

Determines whether entry is known to represent an identity transform.

If this returns true then the entry is definitely the identity matrix. If it returns false it may or may not be the identity matrix but no expensive comparison is performed to verify it.

Returns

true if entry is definitely an identity transform, otherwise false.