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 ID | Type |
PointCloud | PointCloudInput |
Color 1 | Color |
Color 2 | Color |
Color 3 | Color |
Color 4 | Color |
Active Colors | int |
Seed | int |
Output ports
| Port ID | Type |
PointCloud | PointCloudOutput |
Scriptable members
| Path | Type |
countInput | int |
seedInput | int |
Synapse Apps (scripting)
await synapse.modules.create({ type: "ColorPalette" })