The choice and the colour of one part.
More...
#include <avatarpartset.h>
|
| unsigned char | GetType () const |
| void | SetType (unsigned char nType) |
| | Set the index of the choice.
|
| unsigned char | GetColor (int nComponent) const |
| | Report one byte of the colour.
|
| void | SetColor (int nComponent, unsigned char nValue) |
| | Set one byte of the colour.
|
The choice and the colour of one part.
◆ GetType()
| unsigned char AvatarPartSet::PartSetting::GetType |
( |
| ) |
const |
|
inline |
- Returns
- The index of the choice in the types array, less one.
◆ SetType()
| void AvatarPartSet::PartSetting::SetType |
( |
unsigned char | nType | ) |
|
|
inline |
Set the index of the choice.
- Parameters
-
| nType | The index, less one. |
◆ GetColor()
| unsigned char AvatarPartSet::PartSetting::GetColor |
( |
int | nComponent | ) |
const |
|
inline |
Report one byte of the colour.
- Parameters
-
| nComponent | The component, 0 to 2. |
- Returns
- The byte.
◆ SetColor()
| void AvatarPartSet::PartSetting::SetColor |
( |
int | nComponent, |
|
|
unsigned char | nValue ) |
|
inline |
Set one byte of the colour.
- Parameters
-
| nComponent | The component, 0 to 2. |
| nValue | The byte. |
The documentation for this struct was generated from the following file: