Skip to content

Interface: PointCloudOptions

Defined in: plot3d/pointcloud.ts:8

Properties

color?

ts
optional color?: string | Color;

Defined in: plot3d/pointcloud.ts:12


colorBy?

ts
optional colorBy?: {
  colormap?: ColormapSpec;
  domain?: Range;
  values: ArrayLike<number>;
};

Defined in: plot3d/pointcloud.ts:17

colormap?

ts
optional colormap?: ColormapSpec;

domain?

ts
optional domain?: Range;

values

ts
values: ArrayLike<number>;

labels?

ts
optional labels?: ArrayLike<string>;

Defined in: plot3d/pointcloud.ts:19

Per-point tooltip text (parallel to x/y/z).


name?

ts
optional name?: string;

Defined in: plot3d/pointcloud.ts:21

Series name (legend / colorbar label).


renderType?

ts
optional renderType?: RenderType;

Defined in: plot3d/pointcloud.ts:23

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


size?

ts
optional size?: number;

Defined in: plot3d/pointcloud.ts:14

Uniform point diameter (px) when sizes is omitted. Default 4.


sizes?

ts
optional sizes?: ArrayLike<number>;

Defined in: plot3d/pointcloud.ts:16

Per-point diameter (px); overrides size where > 0.


x

ts
x: ArrayLike<number>;

Defined in: plot3d/pointcloud.ts:9


y

ts
y: ArrayLike<number>;

Defined in: plot3d/pointcloud.ts:10


z

ts
z: ArrayLike<number>;

Defined in: plot3d/pointcloud.ts:11

MIT licensed. WebGL2 required.