This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
component:hologram [2015/01/14 23:40] 127.0.0.1 external edit |
component:hologram [2017/11/05 07:19] breadbolt |
||
---|---|---|---|
Line 29: | Line 29: | ||
The color depth supported by the hologram. | The color depth supported by the hologram. | ||
- `getPaletteColor(index:number):number` | - `getPaletteColor(index:number):number` | ||
- | Get the color defined for the specified value. | + | Get the hex color defined for the specified value. |
- `setPaletteColor(index:number, value:number):number` | - `setPaletteColor(index:number, value:number):number` | ||
- | Set the color defined for the specified value. | + | Set the hex color defined for the specified value. |
Simple example program that allows setting individual voxels: | Simple example program that allows setting individual voxels: |