ColorPalette

Read with AI
All docs in one file (llms-full.txt)
ColorPalette #3D #Node
ColorPalette

Colors the input PointCloud using only Active Colors of Color 1-4. Because the assignment is discrete rather than a gradient, it suits designs built out of a fixed number of colors. The applied colors are passed to the material as instance colors by a downstream CopyToPoints.

  • Color 1 / 2 / 3 / 4 — defaults are reddish, bluish, yellowish and white
  • Active Colors — the number of colors used. Clamped to 1-4 (default 3)
  • Seed — used only in Random mode (default 1)
  • Mode dropdown: ByIndex (default, in order by the remainder of the index) / Random (assigned by a hash of the index and Seed)

The colors of the input point cloud are always overwritten.

Input ports

Port IDType
PointCloudPointCloudInput
Color 1Color
Color 2Color
Color 3Color
Color 4Color
Active Colorsint
Seedint

Output ports

Port IDType
PointCloudPointCloudOutput

Scriptable members

PathType
countInputint
seedInputint

Synapse Apps (scripting)

await synapse.modules.create({ type: "ColorPalette" })

Pages linking here

Also referenced from