QtCraft API C++ classes QML types Handbook

QcModelBox Struct

One box of a bone. More...

Header: #include <common/content/mobs/QcModelDefinition.h>

Public Variables

QcVec3 from
QString slot
QcVec3 to
enum class QcBoneRole { None, Head, Body, RightArm, LeftArm, …, LeftLeg }

Detailed Description

slot names the part (e.g. "head", "torso") that an outfit textures.

Member Variable Documentation

QcVec3 QcModelBox::from

Lower corner ("from"), below to on every axis.

QString QcModelBox::slot

Name of the part an outfit textures ("slot").

QcVec3 QcModelBox::to

Upper corner ("to").

Related Non-Members

enum class QcBoneRole

What the animator does with a bone.

Bones without a role only follow the whole body.

ConstantValueDescription
QcModelBox::QcBoneRole::None0follows the whole body only
QcModelBox::QcBoneRole::Head1turns and tilts with the entity's look
QcModelBox::QcBoneRole::Body2the torso
QcModelBox::QcBoneRole::RightArm3the right arm
QcModelBox::QcBoneRole::LeftArm4the left arm
QcModelBox::QcBoneRole::RightLeg5the right leg
QcModelBox::QcBoneRole::LeftLeg6the left leg