the object to fit
the volume to fit the object into
Optionalopts: { ignore?: Object3D<Object3DEventMap>[]; position?: boolean; scale?: boolean }options for fitting
Optionalignore?: Object3D<Object3DEventMap>[]Objects to ignore when calculating the obj's bounding box
Optionalposition?: booleanwhen true aligns the objects position to the volume ground
Optionalscale?: booleanwhen true scales the object to fit the volume
The object's bounding box before fitting
The scale that was applied to the object
Fits an object into a bounding volume. The volume is defined by a Box3 in world space.