magic-pixels
    Preparing search index...

    Function computeBoundingBox

    • The world-space bounding box of an object and everything below it: the union of every mesh's geometry box, each transformed by the mesh's world matrix (eight corners, refitted). Invisible objects count too.

      The subtree's world matrices are updated from the object's parent first, so the parent's worldMatrix must be current (it is after a render, or after scene.updateWorldMatrix()).

      Parameters

      Returns Box3