QcEntityMesher::ModelLook Struct
struct QcEntityMesher::ModelLookWhat a skeleton model looks like: the model, an outfit, an optional hair style and cape, the colours that tinted layers use, and a uniform scale (models are built for 1.8 m). More...
| Header: | #include <clientcore/entitymeshes/QcEntityMesher.h> |
Public Functions
| bool | isValid() const |
Public Variables
| const QcAppearanceDefinition * | cape |
| double | capeClearance |
| QcAppearance | colors |
| const QcAppearanceDefinition * | hair |
| const QcModelDefinition * | model |
| const QcAppearanceDefinition * | outfit |
| double | scale |
Detailed Description
Member Function Documentation
bool ModelLook::isValid() const
Returns whether the look has a model and an outfit.
Member Variable Documentation
const QcAppearanceDefinition *ModelLook::cape
Hangs from the top of the body bone's back, turned by BodyPose::capeLift/capeSway.
double ModelLook::capeClearance
Extra gap between the back and the cape in metres, on top of the cape's own offset: the thickness of whatever the torso wears over the outfit (armour layers), so the cape stays outside it.
QcAppearance ModelLook::colors
Colours of the tinted layers.
const QcAppearanceDefinition *ModelLook::hair
Optional hair style.
const QcModelDefinition *ModelLook::model
The skeleton model; required.
const QcAppearanceDefinition *ModelLook::outfit
The outfit layered on the model; required.
double ModelLook::scale
Uniform scale of the figure.