QcScreenLabel Struct
A world label as drawn this frame: where on screen (pixels from the top left), how large and how opaque. More...
| Header: | #include <clientcore/camera/QcLabelProjector.h> |
Public Variables
| QString | detail |
| double | distance |
| bool | heading |
| quint64 | key |
| double | maxWidth |
| double | opacity |
| double | scale |
| QString | text |
| double | x |
| double | y |
Detailed Description
key identifies the label while its chunk stays loaded.
Member Variable Documentation
QString QcScreenLabel::detail
Its detail line; empty for none.
double QcScreenLabel::distance
Metres from the eye.
bool QcScreenLabel::heading
Whether it is a title (seen from further away).
quint64 QcScreenLabel::key
Identifies the label while its chunk stays loaded.
double QcScreenLabel::maxWidth
Widest the label may be drawn (pixels before scale) without reaching into a label QcLabelProjector::labelSpacing further along; longer lines are cut.
double QcScreenLabel::opacity
Opacity, 0..1: labels fade out towards the end of their reach.
double QcScreenLabel::scale
Size factor: near labels are larger.
QString QcScreenLabel::text
The label's text.
double QcScreenLabel::x
Pixels from the left edge of the view.
double QcScreenLabel::y
Pixels from the top edge of the view.