Player12
An open source football management simulator
Loading...
Searching...
No Matches
MatchRender3DTuning::Boards Struct Referencefinal

#include <match_render_3d_tuning.h>

Static Public Attributes

static constexpr float SIDE_OFFSET = 4.0f
 
static constexpr float END_OFFSET = 5.0f
 
static constexpr float HEIGHT = 0.9f
 
static constexpr float LENGTH = 8.0f
 
static constexpr float GAP = 0.15f
 
static constexpr float TEXT_HEIGHT_RATIO = 0.62f
 
static constexpr float TEXT_WIDTH_RATIO = 0.86f
 
static constexpr float MIN_TEXT_PIXELS = 9.0f
 
static constexpr float MIN_FONT_SIZE = 9.0f
 
static constexpr float MAX_FONT_SIZE = 72.0f
 
static constexpr float FONT_STEP = 1.25f
 
static constexpr float LOGO_BAR_HEIGHT = 0.42f
 
static constexpr float LOGO_MARK_SHARE = 0.18f
 
static constexpr float ROTATE_SECONDS = 14.0f
 
static constexpr ImU32 BACK_COLOR = IM_COL32(34, 36, 42, 255)
 

Member Data Documentation

◆ BACK_COLOR

constexpr ImU32 MatchRender3DTuning::Boards::BACK_COLOR = IM_COL32(34, 36, 42, 255)
staticconstexpr

◆ END_OFFSET

constexpr float MatchRender3DTuning::Boards::END_OFFSET = 5.0f
staticconstexpr

◆ FONT_STEP

constexpr float MatchRender3DTuning::Boards::FONT_STEP = 1.25f
staticconstexpr

◆ GAP

constexpr float MatchRender3DTuning::Boards::GAP = 0.15f
staticconstexpr

◆ HEIGHT

constexpr float MatchRender3DTuning::Boards::HEIGHT = 0.9f
staticconstexpr

◆ LENGTH

constexpr float MatchRender3DTuning::Boards::LENGTH = 8.0f
staticconstexpr

◆ LOGO_BAR_HEIGHT

constexpr float MatchRender3DTuning::Boards::LOGO_BAR_HEIGHT = 0.42f
staticconstexpr

Colour-block logo: bar height and a darker end mark.

◆ LOGO_MARK_SHARE

constexpr float MatchRender3DTuning::Boards::LOGO_MARK_SHARE = 0.18f
staticconstexpr

◆ MAX_FONT_SIZE

constexpr float MatchRender3DTuning::Boards::MAX_FONT_SIZE = 72.0f
staticconstexpr

◆ MIN_FONT_SIZE

constexpr float MatchRender3DTuning::Boards::MIN_FONT_SIZE = 9.0f
staticconstexpr

◆ MIN_TEXT_PIXELS

constexpr float MatchRender3DTuning::Boards::MIN_TEXT_PIXELS = 9.0f
staticconstexpr

Lettering is baked at a size close to its projected height (steps of FONT_STEP from MIN_FONT_SIZE) so glyphs are never heavily minified; below MIN_TEXT_PIXELS a clean colour-block logo replaces it.

◆ ROTATE_SECONDS

constexpr float MatchRender3DTuning::Boards::ROTATE_SECONDS = 14.0f
staticconstexpr

◆ SIDE_OFFSET

constexpr float MatchRender3DTuning::Boards::SIDE_OFFSET = 4.0f
staticconstexpr

◆ TEXT_HEIGHT_RATIO

constexpr float MatchRender3DTuning::Boards::TEXT_HEIGHT_RATIO = 0.62f
staticconstexpr

◆ TEXT_WIDTH_RATIO

constexpr float MatchRender3DTuning::Boards::TEXT_WIDTH_RATIO = 0.86f
staticconstexpr

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