Computes bounding box (AABB) in world space for the given Node or Scene.
Example:
import { getBounds } from '@gltf-transform/functions'; const {min, max} = getBounds(scene);
Made by Don McCurdy. Documentation built with greendoc and published under Creative Commons Attribution 3.0.
Computes bounding box (AABB) in world space for the given Node or Scene.
Example:
import { getBounds } from '@gltf-transform/functions'; const {min, max} = getBounds(scene);