Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
component:hologram [2014/11/17 01:44]
seebs
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: