Skip to content

Interface: Box3D ​

Defined in: plot3d/boxes3d.ts:8

One axis-aligned cuboid: a center plus a full size on each axis.

Properties ​

color? ​

ts
optional color?: string | Color;

Defined in: plot3d/boxes3d.ts:18

Fill color; falls back to the layer default.


d ​

ts
d: number;

Defined in: plot3d/boxes3d.ts:16


h ​

ts
h: number;

Defined in: plot3d/boxes3d.ts:15


label? ​

ts
optional label?: string;

Defined in: plot3d/boxes3d.ts:20

Hover tooltip text for this box.


w ​

ts
w: number;

Defined in: plot3d/boxes3d.ts:14

Full size along x / y / z.


x ​

ts
x: number;

Defined in: plot3d/boxes3d.ts:10

Center (world space).


y ​

ts
y: number;

Defined in: plot3d/boxes3d.ts:11


z ​

ts
z: number;

Defined in: plot3d/boxes3d.ts:12

MIT licensed. WebGL2 required.