Torque2D Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | Public Attributes | List of all members
StockColorItem Class Reference

`#include <color.h>`

## Public Member Functions
| StockColorItem (const char *pName, const U8 red, const U8 green, const U8 blue, const U8 alpha=255)
const char * | getColorName (void) const
const ColorF & | getColorF (void) const
const ColorI & | getColorI (void) const

## Public Attributes
const char * | mColorName
ColorF | mColorF
ColorI | mColorI

## Constructor & Destructor Documentation

StockColorItem | ( | const char * | pName,
|  | const U8 | red,
|  | const U8 | green,
|  | const U8 | blue,
|  | const U8 | alpha = `255`
| ) |  |
| inline

## Member Function Documentation

const ColorF& getColorF | ( | void |  | ) | const
| inline

const ColorI& getColorI | ( | void |  | ) | const
| inline

const char* getColorName | ( | void |  | ) | const
| inline

## Member Data Documentation

ColorF mColorF

ColorI mColorI

const char* mColorName

The documentation for this class was generated from the following file:

- graphics/color.h