VoltAir
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Groups Pages
Public Attributes | List of all members
Graphic::RenderParameters Struct Reference

Struct containing the accumulated result of getFlattenedRenderParameters(). More...

Public Attributes

QPointF worldPosition
 World position of this Graphic. More...
 
float rotation = 0.0f
 Rotation in world space of this Graphic. More...
 
float opacity = 1.0f
 Opacity of this Graphic, with 0.0f being fully transparent, and 1.0f being opaque. More...
 
float zDepth = 0.0f
 Z-depth of this Graphic, to be used for sorting. More...
 

Detailed Description

Struct containing the accumulated result of getFlattenedRenderParameters().

Member Data Documentation

float Graphic::RenderParameters::opacity = 1.0f

Opacity of this Graphic, with 0.0f being fully transparent, and 1.0f being opaque.

float Graphic::RenderParameters::rotation = 0.0f

Rotation in world space of this Graphic.

QPointF Graphic::RenderParameters::worldPosition

World position of this Graphic.

float Graphic::RenderParameters::zDepth = 0.0f

Z-depth of this Graphic, to be used for sorting.