QtCraft API C++ classes QML types Handbook

QcPreviewScene Namespace

The triangles of the character preview: the player's figure meshed exactly as the world meshes other players (QcFigureLook, QcAnimator, QcEntityMesher::appendModel), standing at the origin in full daylight, so the preview shows what other players see. More...

Header: #include <clientcore/preview/QcPreviewScene.h>

Classes

struct Figure

Functions

QcEntityMesh build(const QcContentRegistry &content, const QcPreviewScene::Figure &figure, const QcEntityMesher::UvLookup &uv)

Detailed Description

Classes

class Figure

What the preview shows of the player. More...

Function Documentation

QcEntityMesh QcPreviewScene::build(const QcContentRegistry &content, const QcPreviewScene::Figure &figure, const QcEntityMesher::UvLookup &uv)

Returns the triangles of figure, textured by uv; empty when content has no humanoid model or no outfit to draw.