Skip to main content

@novorender/api / createRGBATransformHighlight

Function: createRGBATransformHighlight()

function createRGBATransformHighlight(options): object & readonly number[];

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

Create a highlight color transform that modifies material colors.

Parameters

ParameterType
optionsAtLeastOne<RGBAOptions>

Returns

object & readonly number[]

Remarks

Colors can either be replaced or modified using the LinearTransform.