Skip to content

galavi / Render

Interface: Render

Defined in: types.ts:185

Render configuration

Properties

opacity?

optional opacity: number

Defined in: types.ts:187

Opacity (0–1)


blending?

optional blending: "translucent" | "opaque" | "additive" | "minimum"

Defined in: types.ts:189

Blending mode (default: 'translucent')


colormap?

optional colormap: string

Defined in: types.ts:191

Colormap name (e.g. 'gray', 'magma', 'viridis')


color?

optional color: string

Defined in: types.ts:193

Single-color ramp override (e.g. '#FF0000')


contrastLimits?

optional contrastLimits: [number, number]

Defined in: types.ts:195

Contrast limits [min, max] in normalized [0,1] range


visible?

optional visible: boolean

Defined in: types.ts:197

Whether this layer is visible


wireframe?

optional wireframe: boolean

Defined in: types.ts:199

Render geometry as wireframe (consumed by mesh-style layers).


doubleSided?

optional doubleSided: boolean

Defined in: types.ts:201

Disable back-face culling (consumed by mesh-style layers).


shading?

optional shading: "surface" | "flat" | "wireframe" | "xray"

Defined in: types.ts:203

Shading model for surface-like layers.

Released under the GPL-3.0 License.