QcEntityMesher::HeldItemPainter Class
class QcEntityMesher::HeldItemPainterDraws held items, in the first-person fist and in a figure's fist. More...
| Header: | #include <clientcore/entitymeshes/QcHeldItemMesher.h> |
Public Functions
| void | paint(const QcEntityMesher::ItemLook &look, const QcEntityMesher::HeldPlacement &placement, const QcEntityMesher::PlaceFunction &place) const |
Detailed Description
The painter keeps its own copy of the UV lookup, so it may be built from a temporary lambda and outlive it.
Member Function Documentation
void HeldItemPainter::paint(const QcEntityMesher::ItemLook &look, const QcEntityMesher::HeldPlacement &placement, const QcEntityMesher::PlaceFunction &place) const
look placed by placement around its grip; place maps the fist's frame (for the first person the camera's at rest, for a figure its arm's model space) to world space. Sprites with a shape are extruded, without one flat; blocks are drawn from their boxes.