Skip to content

format

typescript
new Bounds ((cnt, ext))

description

Create a new bounding box.

parameter

param_nametypedescription
cntVector3?The center point of the bounding box.
extVector3?The extent of the bounding box.

code example

typescript
let bounds = new Bounds(new Vector3(1, 1, 1), new Vector3(1, 1, 1));