readDrawnBounds
readDrawnBounds(
scene):Box3
Defined in: packages/engine/src/views/entity/screenshot.ts:123
The box every visible mesh, line and point cloud of the scene stands in. A hidden subtree draws nothing, so it frames nothing, where three’s setFromObject counts it.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
scene |
Object3D |
Returns
Section titled “Returns”Box3