format
typescript
Bounds.EqualsTo(other)class: Bounds
description
Determines whether the current bounding box is equal to the target bounding box.
parameter
| param_name | type | description |
|---|---|---|
| other | Bounds | The target bounding box. |
reture
| type | description |
|---|---|
boolean | True if the current bounding box is equal to the target bounding box; otherwise, false. |
code example
typescript
let bounds = new Bounds(new Vector3(1, 1, 1), new Vector3(2, 2, 2));
let other = new Bounds(new Vector3(1, 1, 1), new Vector3(3, 3, 3));
bounds.Equals(other);