getVisualBounds
@MainThread
Computes a bounding box for the entity in the specified space, optionally including child entities.
Return
The bounding box.
Parameters
relativeTo
An entity that defines a frame of reference. Set to null to indicate com.pico.spatial.core.container.SpatialContainer.
recursive
A Boolean that specifies whether to incorporate the bounds of all descendants of this Entity.
enabledOnly
A Boolean that specifies whether to incorporate only the bounds of all enabled entities, including this entity itself and its descendants.