IFClite TypeScript API
    Preparing search index...

    Function worldBoundsOfMeshes

    • World-space AABB of meshes, folding each mesh's local frame: world = origin + positions[3i..3i+3].

      Reading positions without adding origin is the standing local-frame defect in this codebase (see MeshData.origin): it reports a box around the model ORIGIN instead of around the model, which would place the synthetic camera plane in the wrong place entirely.

      Returns null when no mesh contributes a vertex — the caller must decide what an empty view means rather than receive an inverted/infinite box.

      Parameters

      Returns WorldBounds3D | null