Geometry
BoundingBox
An axis-aligned rectangular area, by its top-left and bottom-right corners.
Object type box pins
A BoundingBox is an area of the page, between its topLeft and
bottomRight corners. Its sides are always horizontal and vertical. It
isn't drawn: it describes where things are, e.g. for the
bounds and lattice nodes.
Hierarchy
- Parents
- None
- Subtypes
- None
Properties
| Name | Type | Notes |
|---|---|---|
| topLeft | Point | |
| topRight | Point | read-only |
| bottomLeft | Point | read-only |
| bottomRight | Point | |
| center | Point | read-only |
| width | number | read-only |
| height | number | read-only |
| area | number | read-only |
Nodes
Break BoundingBox
Node id break/BoundingBox
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | BoundingBox | type default |
Outputs
Make BoundingBox
Node id make/BoundingBox
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| object | BoundingBox |
Set BoundingBox
Node id set/BoundingBox
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | BoundingBox | type default | |
| topLeft | Point | — | |
| bottomRight | Point | — |
Outputs
| Name | Type | Notes |
|---|---|---|
| object | BoundingBox |
Notes
- Read-only properties.
topRight,bottomLeft,center,width,heightandareafollow from the two corners you set; Break BoundingBox gives them all, so a box's middle or its other corners need no extra nodes. - Default. Make BoundingBox gives an empty box at (0, 0).
- From objects. AABB gives the box around an object as drawn.
- Not lerpable. There is no Lerp BoundingBox.