QtCraft API C++ classes QML types Handbook

QcBlockRenderTable::Cross Struct

struct QcBlockRenderTable::Cross

A pair of crossed planes (plants, saplings) spanning a box of the cell. More...

Public Variables

std::array<float, 6> box
QRectF uv

Detailed Description

Member Variable Documentation

std::array<float, 6> Cross::box

The box as min x, y, z and max x, y, z in block-local coordinates.

QRectF Cross::uv

Atlas rectangle of the planes' texture.