viz.renderers.EmbeddingOptions
export interface EmbeddingOptions {
/** Size of each point in pixels (default: 6) */
pointSize?: number;
/** 3D camera settings */
camera?: EmbeddingCamera;
/** Color mode: 'categorical' for discrete labels, 'continuous' for values */
colorMode?: EmbeddingColorMode;
/** Colormap for continuous mode (default: 'viridis') */
colormap?: ColormapName;
/** Category labels for legend */
categoryLabels?: CategoryLabel[];
/** Legend position (default: 'top-right') */
legendPosition?: LegendPosition;
/** Show axis labels (default: true) */
showAxes?: boolean;
/** Title for the visualization */
title?: string;
/** X-axis label */
xLabel?: string;
/** Y-axis label */
yLabel?: string;
/** Background color as [r, g, b, a] (default: [1, 1, 1, 1]) */
backgroundColor?: [number, number, number, number];
/** Opacity of points (default: 0.8) */
opacity?: number;
/** Target to render to */
target?: RenderTarget;
/** Point IDs for hit testing (parallel array to positions) */
pointIds?: string[];
}pointSize(number)optional- – Size of each point in pixels (default: 6)
camera(EmbeddingCamera)optional- – 3D camera settings
colorMode(EmbeddingColorMode)optional- – Color mode: 'categorical' for discrete labels, 'continuous' for values
colormap(ColormapName)optional- – Colormap for continuous mode (default: 'viridis')
categoryLabels(CategoryLabel[])optional- – Category labels for legend
legendPosition(LegendPosition)optional- – Legend position (default: 'top-right')
showAxes(boolean)optional- – Show axis labels (default: true)
title(string)optional- – Title for the visualization
xLabel(string)optional- – X-axis label
yLabel(string)optional- – Y-axis label
backgroundColor([number, number, number, number])optional- – Background color as [r, g, b, a] (default: [1, 1, 1, 1])
opacity(number)optional- – Opacity of points (default: 0.8)
target(RenderTarget)optional- – Target to render to
pointIds(string[])optional- – Point IDs for hit testing (parallel array to positions)
Options for EmbeddingRenderer.