Interface: SceneBounds
Describes world-axis-aligned 3D bounds in metres.
X is width, Y is height and Z is depth. For canvas overlays use actions.getInstanceScreenRect() and CSS pixels.
Example
const bounds = window.mimeeqApp.observers.scene.bounds.getValue();
if (bounds) console.log(bounds.min, bounds.max, bounds.width);
Properties
depth
depth:
number
height
height:
number
max
max:
object
x
x:
number
y
y:
number
z
z:
number
min
min:
object
x
x:
number
y
y:
number
z
z:
number
width
width:
number