G-code Preview — API Reference
Guide
npm
GitHub
Preparing search index...
@chestnutlabs/gcode-renderer-three
buildChunkColors
Function buildChunkColors
buildChunkColors
(
ir
:
ToolpathIR
,
chunk
:
GeometryChunk
,
mode
:
ColorMode
,
)
:
Float32Array
Build the interleaved color attribute for a chunk: 6 floats per segment (both vertices).
Parameters
ir
:
ToolpathIR
chunk
:
GeometryChunk
mode
:
ColorMode
Returns
Float32Array
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
Guide
npm
GitHub
G-code Preview — API Reference
Loading...
Build the interleaved color attribute for a chunk: 6 floats per segment (both vertices).