This class is used to retrieve Constants used in the palette and colors.
More...
|
String | folderForLocation (int location, int elementId) |
| Will return the full palette-library path for a given location. More...
|
|
String | palettePathForLocation (int location, int elementId, String paletteName) |
| Will return the filename of the palette including the .plt extension for a given palette and location. More...
|
|
String | textureFolderForLocation (int location, int elementId, String paletteName) |
| Will return the texture folder of the palette for a given palette and location. More...
|
|
StringList | palettesAtLocation (int location, int elementId, bool fullFileName) |
|
bool | importPaletteAtLocation (String palettePath, int location, int elementId, String paletteName) |
|
This class is used to retrieve Constants used in the palette and colors.
◆ folderForLocation
String PaletteLocator::folderForLocation |
( |
int |
location, |
|
|
int |
elementId |
|
) |
| |
|
slot |
Will return the full palette-library path for a given location.
- Parameters
-
◆ importPaletteAtLocation
bool PaletteLocator::importPaletteAtLocation |
( |
String |
palettePath, |
|
|
int |
location, |
|
|
int |
elementId, |
|
|
String |
paletteName |
|
) |
| |
|
slot |
Will copy the plt file at the specified location in the project.
- Parameters
-
palettePath | The full source palette file path. |
location | One of the PaletteLocation constants. |
elementId | If location is PaletteLocation.ELEMENT, the element id |
paletteName | The name the palette will have in the project. |
◆ palettePathForLocation
String PaletteLocator::palettePathForLocation |
( |
int |
location, |
|
|
int |
elementId, |
|
|
String |
paletteName |
|
) |
| |
|
slot |
Will return the filename of the palette including the .plt extension for a given palette and location.
- Parameters
-
◆ palettesAtLocation
StringList PaletteLocator::palettesAtLocation |
( |
int |
location, |
|
|
int |
elementId, |
|
|
bool |
fullFileName |
|
) |
| |
|
slot |
Will return the list of all .plt files at a given location.
- Parameters
-
location | One of the PaletteLocation constants. |
elementId | If location is PaletteLocation.ELEMENT, the element id |
fullFileName | If true will return the complete path list. Will return only the names otherwise. |
◆ textureFolderForLocation
String PaletteLocator::textureFolderForLocation |
( |
int |
location, |
|
|
int |
elementId, |
|
|
String |
paletteName |
|
) |
| |
|
slot |
Will return the texture folder of the palette for a given palette and location.
- Parameters
-