QcAppearanceLayer Struct
Texture for one slot of a model. More...
| Header: | #include <common/content/mobs/QcAppearanceDefinition.h> |
Public Variables
Related Non-Members
| enum class | QcTint { None, Skin, Hair, Shirt, Pants, Collar } |
Detailed Description
Member Variable Documentation
QString QcAppearanceLayer::slot
Slot the texture covers (the key in "layers").
QString QcAppearanceLayer::texture
Content name of the texture ("texture").
QcTint QcAppearanceLayer::tint
Colour the texture is multiplied with ("tint": none, skin, hair, shirt or pants).
Related Non-Members
enum class QcTint
Colour a texture is multiplied with: one of the player's chosen colours, or none.
Collar is the collar of a tame creature (only on creature model parts, QcMobPart::tint; decision E-480), which travels in the shirt colour of the creature's appearance.
| Constant | Value | Description |
|---|---|---|
QcAppearanceLayer::QcTint::None | 0 | the texture as it is |
QcAppearanceLayer::QcTint::Skin | 1 | the skin colour |
QcAppearanceLayer::QcTint::Hair | 2 | the hair colour |
QcAppearanceLayer::QcTint::Shirt | 3 | the shirt colour |
QcAppearanceLayer::QcTint::Pants | 4 | the pants colour |
QcAppearanceLayer::QcTint::Collar | 5 | a tame creature's collar colour |