brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
index
colorShape
Function colorShape
colorShape
<
T
extends
AnyShape
<
Dimension
>
>
(
shape
:
T
,
color
:
ColorInput
)
:
T
Set a whole-shape color (stored externally via WeakMap). Returns the same shape reference.
Type Parameters
T
extends
AnyShape
<
Dimension
>
Parameters
shape
:
T
color
:
ColorInput
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Set a whole-shape color (stored externally via WeakMap). Returns the same shape reference.