Bounding Box Properties (LogiX node)
Bounding Box Properties | ||
---|---|---|
Inputs | ||
BoundingBox | Bounds | |
Outputs | ||
Float3 | Min | |
Float3 | Max | |
Float3 | Center | |
Float3 | Size | |
Bool | Valid | |
Bool | Empty |
The Bounding Box Properties node provides several pieces of data about the input Bounds
.
Usage
The Min
and Max
outputs provide the minimum and maximum extents for the input Bounds
on xyz coordinates.
The Valid
output will be False if Bounds
has the special value EmptyBounds, any of the Center
coordinates has the special float values NaN or Infinity, or the Size
has negative, NaN, or Infinity values. Otherwise True.
The Empty
output will be True if Bounds
has the special value EmptyBounds. This may occur if Bounds
is output from Empty Bounding Box (LogiX node) or it is the BoundingBox for a slot which has no elements which would cause it to have a volume (e.g. collider components). Note that calculating a bounding box with center [0,0,0] and size [0,0,0] does not produce an EmptyBounds value.
Examples
Node Menu
Transform / Bounds | ||||||
---|---|---|---|---|---|---|
Back | Bounding Box From Center Size | Bounding Box Properties | Compute Bounding Box | Empty Bounding Box | Encapsulate Bounds | Encapsulate Point |
Transform Bounds |