Skip to main content

@novorender/api / createColorSetHighlight

Function: createColorSetHighlight()

function createColorSetHighlight(color): object & readonly number[];

Defined in: @novorender/src/web_app/highlight.ts:46

Create a highlight color transform that replaces material colors.

Parameters

ParameterTypeDescription
colorRGB | RGBANew material color or color modifier with optional alpha to be used uniformly across selection.

Returns

object & readonly number[]