Graphic(QQuickItem *parent=nullptr)
Construct a Graphic.
QPointF worldPosition
World position of this Graphic.
Definition: Graphic.h:57
float rotation
Rotation in world space of this Graphic.
Definition: Graphic.h:61
Base class for visual elements which are part of the game scene, and are rendered through Renderer...
Definition: Graphic.h:34
float zDepth
Z-depth of this Graphic, to be used for sorting.
Definition: Graphic.h:70
Struct containing the accumulated result of getFlattenedRenderParameters().
Definition: Graphic.h:53
virtual void synchronizeForRendering(RenderList *renderList)
Synchronize this Graphic for rendering, adding any RenderNodes to renderList, and buffering any data ...
void getFlattenedRenderParameters(RenderParameters *parameters)
Compute the rendering parameters and transform of this Graphic by moving up the QQuickItem tree and a...
List of RenderNodes, sorted by z-depth for rendering.
Definition: RenderList.h:36
float opacity
Opacity of this Graphic, with 0.0f being fully transparent, and 1.0f being opaque.
Definition: Graphic.h:66