QtCraft API C++ classes QML types Handbook

QcCapeShape Struct

Size of a cape in metres and its distance from the back (decision E-240). More...

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

Public Variables

double length
double offset
double thickness
double width

Static Public Members

const double maxLength
const double maxOffset
const double maxThickness
const double maxWidth
const double minSize

Detailed Description

The plate hangs from the top of the torso's back; its upper square part (as long as it is wide) carries the layer "emblem", the rest the layer "outside"; "inside" faces the back, "edge" the narrow sides.

Member Variable Documentation

double QcCapeShape::length

Length from the top of the torso down ("length").

const double QcCapeShape::maxLength

Largest length the data may set.

const double QcCapeShape::maxOffset

Largest offset the data may set.

const double QcCapeShape::maxThickness

Largest thickness the data may set.

const double QcCapeShape::maxWidth

Largest width the data may set.

const double QcCapeShape::minSize

Smallest width and length the data may set.

double QcCapeShape::offset

Gap between the torso's back and the cape (armour layers add their own clearance).

double QcCapeShape::thickness

Thickness of the plate ("thickness", at least 0.005).

double QcCapeShape::width

Width across the back ("width").