format
typescript
Matrix4x4.EqualsTo(other)class: Matrix4x4
description
判断当前矩阵与other是否相等。
parameter
| param_name | type | description |
|---|---|---|
| other | Matrix4x4 | Matrix4x4值 |
reture
| type | description |
|---|---|
boolean | 矩阵是否相等 |
code example
typescript
let matrix = new Matrix4x4();
let column = new Vector4(1,1,1,1);
//设置矩阵第一列的数据
matrix.SetColumn(0, column);
let other = Matrix4x4.identity;
//判断当前矩阵与other是否相等
matrix.EqualsTo(other);