brepjs API Reference
GitHub
npm
Getting Started
Preparing search index...
index
colorFaces
Function colorFaces
colorFaces
<
T
extends
AnyShape
<
Dimension
>
>
(
shape
:
T
,
faces
:
Face
<
Dimension
>
[]
,
color
:
ColorInput
,
)
:
T
Set per-face colors on a shape. Returns the same shape reference.
Type Parameters
T
extends
AnyShape
<
Dimension
>
Parameters
shape
:
T
faces
:
Face
<
Dimension
>
[]
color
:
ColorInput
Returns
T
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
GitHub
npm
Getting Started
brepjs API Reference
Loading...
Set per-face colors on a shape. Returns the same shape reference.