The JavaScript class for manipulating colour override nodes. Created from the node global object. More...
Public Slots | |
Whole Palette Overrides. | |
int | getNumPalettes () |
Returns the number of whole palette overrides. More... | |
String | palettePath (int index) |
Returns the full path (including name and extension) of the palette override at postion 'index'. More... | |
void | setPalettePath (int index, String &path) |
Set the path (including name and extension) of the palette at position 'index'. More... | |
void | clearPalettes () |
Clear the list of whole palette overrides. More... | |
void | addPalette (String &path) |
Add a full palette path at the bottom of the list of whole palette overrides. More... | |
void | removePalette (String &path) |
Remove a palette with the supplied path from the list of whole palette overrides. More... | |
Individual Color Overrides. | |
int | getNumColorOverrides () |
Returns the number of individual colour overrides. More... | |
String | getOverrideTexturePath (int index) |
Returns the path of a texture file for the colour override at the specified position in the list. More... | |
void | setOverrideTexturePath (int index, String &path) |
Sets the path of a texture file for the colour override at the specified position in the list. More... | |
String | getOverridePalettePath (int index) |
Returns the full path (including name and extension) of the palette to which the override colour belongs. More... | |
void | setOverridePalettePath (int index, String &path) |
Sets the full path (including name and extension) of the palette to which the override colour belongs. More... | |
Render Selected Colours Only. | |
int | getNumSelectedColors () |
Returns the number of selected colours. More... | |
String | getSelectedPalettePath (int index) |
Returns the full path (including name and extension) of the palette to which the selected colour belongs. More... | |
void | setSelectedPalettePath (int index, String &path) |
Sets the full path (including name and extension) of the palette to which the selected colour belongs. More... | |
The JavaScript class for manipulating colour override nodes. Created from the node global object.
Used to get information about palettes associated to a colour override node, or to add or remove a palette from the node.
|
slot |
Add a full palette path at the bottom of the list of whole palette overrides.
path | : Path of this new palette override. |
|
slot |
Clear the list of whole palette overrides.
|
slot |
Returns the number of individual colour overrides.
|
slot |
Returns the number of whole palette overrides.
|
slot |
Returns the number of selected colours.
|
slot |
Returns the full path (including name and extension) of the palette to which the override colour belongs.
index | : Index in the list of individual colour overrides. |
|
slot |
Returns the path of a texture file for the colour override at the specified position in the list.
index | : Index in the list of individual colour overrides. Applies for one of the modes that references a texture. |
|
slot |
Returns the full path (including name and extension) of the palette to which the selected colour belongs.
index | : Index in the list of selected colours. |
|
slot |
Returns the full path (including name and extension) of the palette override at postion 'index'.
index | : Index of the palette in the list of palette overrides. |
|
slot |
Remove a palette with the supplied path from the list of whole palette overrides.
path | : Path of this palette to remove. |
|
slot |
Sets the full path (including name and extension) of the palette to which the override colour belongs.
index | : Index in the list of individual colour overrides. |
path | : New path for the palette. |
|
slot |
Sets the path of a texture file for the colour override at the specified position in the list.
index | : Index in the list of individual colour overrides. |
path | : Texture path. |
Applies for one of the modes that references a texture.
|
slot |
Set the path (including name and extension) of the palette at position 'index'.
index | : Index of the palette in the list of palette overrides. |
path | : New path of this palette override. |
|
slot |
Sets the full path (including name and extension) of the palette to which the selected colour belongs.
index | : Index in the list of selected colours. |
path | : New path for the palette. |