Emergency 20 Dokumentation  4.2.0
em5::MiniMapRenderer::IconState Struct Reference

The icon state data contains everything needed for deriving the renderer icon (basically OGRE billboard set, the thing seen by the user) More...

#include <MiniMapRenderer.h>

Inheritance diagram for em5::MiniMapRenderer::IconState:
em5::MiniMapRenderer::LiveIconState

Public Attributes

uint64 entityId
 ID of the entity the icon represents, for visual mini map playback just used as key. More...
 
uint32 playerId
 ID of the player the entity the icon represents belongs to, can be used for e.g. icon color changes or filtering. More...
 
MiniMapIconType miniMapIconType
 The mini map icon type determines the icon image to be used. More...
 
glm::vec3 position
 World space position of the icon (not icon GUI 2D position) More...
 
float size
 Icon size (not final GUI size), can be the result of a fixed icon size animation over time. More...
 
qsf::Color4 color
 Icon color (usually white) More...
 
bool visible
 "qsf::game::HiddenComponent::isEntityVisible()" More...
 
bool dirty
 Set this to "true" to enforce reset of renderer icon (e.g. when only minimap icon type has hanged) More...
 

Detailed Description

The icon state data contains everything needed for deriving the renderer icon (basically OGRE billboard set, the thing seen by the user)

Member Data Documentation

qsf::Color4 em5::MiniMapRenderer::IconState::color

Icon color (usually white)

bool em5::MiniMapRenderer::IconState::dirty

Set this to "true" to enforce reset of renderer icon (e.g. when only minimap icon type has hanged)

uint64 em5::MiniMapRenderer::IconState::entityId

ID of the entity the icon represents, for visual mini map playback just used as key.

MiniMapIconType em5::MiniMapRenderer::IconState::miniMapIconType

The mini map icon type determines the icon image to be used.

uint32 em5::MiniMapRenderer::IconState::playerId

ID of the player the entity the icon represents belongs to, can be used for e.g. icon color changes or filtering.

glm::vec3 em5::MiniMapRenderer::IconState::position

World space position of the icon (not icon GUI 2D position)

float em5::MiniMapRenderer::IconState::size

Icon size (not final GUI size), can be the result of a fixed icon size animation over time.

bool em5::MiniMapRenderer::IconState::visible

"qsf::game::HiddenComponent::isEntityVisible()"


The documentation for this struct was generated from the following file: