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

#include <match_render_3d_tuning.h>

Static Public Attributes

static constexpr float PITCH = 0.6f
 
static constexpr float DISTANCE = 40.0f
 
static constexpr float SPREAD_DISTANCE_GAIN = 0.75f
 
static constexpr float MIN_DISTANCE = 34.0f
 
static constexpr float MAX_DISTANCE = 72.0f
 
static constexpr float LOOK_AHEAD_SHARE = 0.5f
 
static constexpr float TARGET_MIN_X = 10.0f
 
static constexpr float TARGET_MAX_X = 95.0f
 
static constexpr float TARGET_MIN_Y = 10.0f
 
static constexpr float TARGET_MAX_Y = 58.0f
 
static constexpr float FOV = 0.6f
 

Detailed Description

Play-mode camera: the ball and the active footballer in view.

Member Data Documentation

◆ DISTANCE

constexpr float MatchRender3DTuning::Play::DISTANCE = 40.0f
staticconstexpr

◆ FOV

constexpr float MatchRender3DTuning::Play::FOV = 0.6f
staticconstexpr

◆ LOOK_AHEAD_SHARE

constexpr float MatchRender3DTuning::Play::LOOK_AHEAD_SHARE = 0.5f
staticconstexpr

◆ MAX_DISTANCE

constexpr float MatchRender3DTuning::Play::MAX_DISTANCE = 72.0f
staticconstexpr

◆ MIN_DISTANCE

constexpr float MatchRender3DTuning::Play::MIN_DISTANCE = 34.0f
staticconstexpr

◆ PITCH

constexpr float MatchRender3DTuning::Play::PITCH = 0.6f
staticconstexpr

◆ SPREAD_DISTANCE_GAIN

constexpr float MatchRender3DTuning::Play::SPREAD_DISTANCE_GAIN = 0.75f
staticconstexpr

Metres pulled back per metre between ball and active player.

◆ TARGET_MAX_X

constexpr float MatchRender3DTuning::Play::TARGET_MAX_X = 95.0f
staticconstexpr

◆ TARGET_MAX_Y

constexpr float MatchRender3DTuning::Play::TARGET_MAX_Y = 58.0f
staticconstexpr

◆ TARGET_MIN_X

constexpr float MatchRender3DTuning::Play::TARGET_MIN_X = 10.0f
staticconstexpr

◆ TARGET_MIN_Y

constexpr float MatchRender3DTuning::Play::TARGET_MIN_Y = 10.0f
staticconstexpr

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