Skip to content

Interface: SurfaceOptions ​

Defined in: plot3d/surface.ts:7

Properties ​

colormap? ​

ts
optional colormap?: ColormapSpec;

Defined in: plot3d/surface.ts:15


cols ​

ts
cols: number;

Defined in: plot3d/surface.ts:10


extentX? ​

ts
optional extentX?: Range;

Defined in: plot3d/surface.ts:13

World extent of the grid footprint. Defaults to unit indices.


extentZ? ​

ts
optional extentZ?: Range;

Defined in: plot3d/surface.ts:14


name? ​

ts
optional name?: string;

Defined in: plot3d/surface.ts:17

Series name (colorbar label / legend).


renderType? ​

ts
optional renderType?: RenderType;

Defined in: plot3d/surface.ts:21

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


rows ​

ts
rows: number;

Defined in: plot3d/surface.ts:11


values ​

ts
values: ArrayLike<number>;

Defined in: plot3d/surface.ts:9

Row-major height grid, length cols * rows.


wireframe? ​

ts
optional wireframe?: boolean;

Defined in: plot3d/surface.ts:19

Render the grid as a wireframe (lines) instead of a lit filled surface.

MIT licensed. WebGL2 required.