QtCraft API C++ classes QML types Handbook

QcArmourPart Struct

An extra box of a piece of armour on one bone (shoulder piece, crest, visor, toe cap), in model space like the bone's own boxes. More...

Header: #include <common/content/items/QcArmourDefinition.h>

Public Variables

QcBoneRole bone
QcVec3 from
QString front
QString texture
QcVec3 to

Detailed Description

Member Variable Documentation

QcBoneRole QcArmourPart::bone

Bone the box moves with ("bone", default "body").

QcVec3 QcArmourPart::from

Lower corner of the box ("from", smaller than to on every axis).

QString QcArmourPart::front

Qualified texture for the face looking forward ("front"); empty when not set.

QString QcArmourPart::texture

Qualified texture name of the box ("texture", required).

QcVec3 QcArmourPart::to

Upper corner of the box ("to").