Equals
Checks if two matrices are equal.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: Unity.VectorGraphics
- Assembly: UnityEngine.VectorGraphicsModule
Equals(Object)
Checks if two matrices are equal.
public override bool Equals(object other)
Parameters
The other matrix to compare with
Returns
Type | Description |
|---|---|
| bool | True 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 |
|---|---|
| bool | True if the matrices are equal, false otherwise. |