Back to Filament

boundingBox

docs/android/dokka/filament-android/com.google.android.filament/-renderable-manager/-builder/bounding-box.md

1.75.0559 B
Original Source

//filament-android/com.google.android.filament/RenderableManager/Builder/boundingBox

boundingBox

[main]
open fun boundingBox(aabb: Box): RenderableManager.Builder

The axis-aligned bounding box of the renderable.

This is an object-space AABB used for frustum culling. For skinning and morphing, this should encompass all possible vertex positions. It is mandatory unless culling is disabled for the renderable.