TorqueScript Reference
|
Functions | |
Integer | getStockColorCount () |
String | getStockColorF (stockColorName) |
String | getStockColorI (stockColorName) |
String | getStockColorName (stockColorIndex) |
Boolean | isStockColor (stockColorName) |
Integer getStockColorCount | ( | ) |
Gets a count of available stock colors.
String getStockColorF | ( | stockColorName | ) |
Gets a floating-point-based stock color by name.
stockColorName | - The stock color name to retrieve. |
String getStockColorI | ( | stockColorName | ) |
Gets a byte-based stock color by name.
stockColorName | - The stock color name to retrieve. |
String getStockColorName | ( | stockColorIndex | ) |
Gets the stock color name at the specified index.
stockColorIndex | The zero-based index of the stock color name to retrieve. |
Boolean isStockColor | ( | stockColorName | ) |
Gets whether the specified name is a stock color or not.
stockColorName | - The stock color name to test for. |