Skip to content

Interface: Boxes3DOptions

Defined in: plot3d/boxes3d.ts:23

Properties

boxes

ts
boxes: Box3D[];

Defined in: plot3d/boxes3d.ts:24


color?

ts
optional color?: string | Color;

Defined in: plot3d/boxes3d.ts:26

Default fill for boxes without their own color.


name?

ts
optional name?: string;

Defined in: plot3d/boxes3d.ts:32


opacity?

ts
optional opacity?: number;

Defined in: plot3d/boxes3d.ts:31

Fill opacity 0..1. Default 1. Values below 1 blend without depth sorting, so overlapping translucent boxes can composite out of order.


renderType?

ts
optional renderType?: RenderType;

Defined in: plot3d/boxes3d.ts:34

Buffer-usage hint; set "dynamic" when streaming via setData. Default "static".

MIT licensed. WebGL2 required.