SEntityTagParams

C++
struct SEntityTagParams {
  EntityId entity;
  string text;
  float size;
  float visibleTime;
  float fadeTime;
  float viewDistance;
  string staticId;
  int column;
  ColorF color;
  string tagContext;
};
File

IGameFramework.h

SEntityTagParams::color Data Member
C++
ColorF color;
SEntityTagParams::column Data Member
C++
int column;
Description

For multicolumn tag display (0 or 1 defaults to standard 1 column display)

SEntityTagParams::entity Data Member
C++
EntityId entity;
SEntityTagParams::fadeTime Data Member
C++
float fadeTime;
Description

seconds to fade over, >= 0

SEntityTagParams::size Data Member
C++
float size;
Description

font size

SEntityTagParams::staticId Data Member
C++
string staticId;
Description

when nonempty string, display first for entity, and only most recent one (for continuous info like health display)

SEntityTagParams::tagContext Data Member
C++
string tagContext;
SEntityTagParams::text Data Member
C++
string text;
SEntityTagParams::viewDistance Data Member
C++
float viewDistance;
Description

maximum distance of entity from camera to show tag

SEntityTagParams::visibleTime Data Member
C++
float visibleTime;
Description

seconds before starting fade, >= 0

SEntityTagParams::SEntityTagParams Constructor ()
C++
SEntityTagParams();
SEntityTagParams::SEntityTagParams Constructor (EntityId, char *)
C++
SEntityTagParams(EntityId entity, const char * text);
SEntityTagParams::SEntityTagParams Constructor (EntityId, char *, float, ColorF&, float)
C++
SEntityTagParams(EntityId entity, const char * text, float size, const ColorF& color, float duration);