Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Equals

Checks if two matrices are equal.
Read time 1 minuteLast updated 12 days ago

Definition

Equals(Object)

Checks if two matrices are equal.
public override bool Equals(object other)

Parameters

other

The other matrix to compare with

Returns

Type

Description

boolTrue when the matrix is equal to "other"

Remarks

Used to allow Matrix3x3s to be used as keys in hash tables.

Equals(Matrix2D)

Checks if this matrix is equal to another Matrix2D.
public bool Equals(Matrix2D other)

Parameters

The other matrix to compare with.

Returns

Type

Description

boolTrue if the matrices are equal, false otherwise.