@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
Parameter | Type | Description |
---|---|---|
color | RGB | RGBA | New material color or color modifier with optional alpha to be used uniformly across selection. |
Returns
object
& readonly number
[]