format
typescript
Bounds.EqualsTo(lhs, rhs)class: Bounds
description
Determines whether two bounding boxes are equal.
parameter
| param_name | type | description |
|---|---|---|
| lhs | Bounds | The first bounding box. |
| rhs | Bounds | The second bounding box. |
return
| type | description |
|---|---|
boolean | True if the two bounding boxes are equal; otherwise, false. |
code example
typescript
let lhs = new Bounds(new Vector3(1, 1, 1), new Vector3(2, 2, 2));
let rhs = new Bounds(new Vector3(1, 1, 1), new Vector3(3, 3, 3));
Bounds.Equals(bounds1,bounds2);