QcMaterialDefinition Struct
A material that building parts are made of: a base block and its kind. More...
| Header: | #include <common/content/blocks/QcMaterialDefinition.h> |
Public Variables
| QString | block |
| QStringList | exclude |
| bool | excluded |
| QStringList | excludedBlocks |
| QString | kind |
| QString | name |
| QString | translationKey |
Detailed Description
Exclusion entries (excluded) list base blocks that never get parts, whatever material definition names them.
Member Variable Documentation
QString QcMaterialDefinition::block
Base block the parts are made of ("block"); empty for an exclusion entry.
QStringList QcMaterialDefinition::exclude
Part families (by name) left out for this material ("exclude").
bool QcMaterialDefinition::excluded
Whether this is an exclusion entry ("excluded": true) rather than a material.
QStringList QcMaterialDefinition::excludedBlocks
Base blocks of an exclusion entry ("blocks").
QString QcMaterialDefinition::kind
Material kind that selects the part families ("kind", e.g. "wood", "stone").
QString QcMaterialDefinition::name
Qualified material name ("name").
QString QcMaterialDefinition::translationKey
Translation key of the material's name, which fills %1 of the families' display names ("translation"; "material.<namespace>.<path>" unless set).