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

The live icon state holds the icon state of the current game (independent of the stuff the user sees on the mini map), this includes visual icon data as well as icon animation related data. More...

#include <MiniMapRenderer.h>

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

Public Attributes

float fixedSize
 The icon size as specified from the outside, without animation incorporated. More...
 
float elapsedTime
 
bool inAnimation
 
- Public Attributes inherited from em5::MiniMapRenderer::IconState
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 live icon state holds the icon state of the current game (independent of the stuff the user sees on the mini map), this includes visual icon data as well as icon animation related data.

Member Data Documentation

float em5::MiniMapRenderer::LiveIconState::elapsedTime
float em5::MiniMapRenderer::LiveIconState::fixedSize

The icon size as specified from the outside, without animation incorporated.

bool em5::MiniMapRenderer::LiveIconState::inAnimation

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