|
Player12
An open source football management simulator
|
#include <match_camera_3d.h>
Public Attributes | |
| RenderMath::Vec3 | ball |
| RenderMath::Vec3 | ballVelocity |
| RenderMath::Vec3 | carrier |
| float | carrierYaw = 0.0f |
| bool | hasCarrier = false |
| float | attackDirection = 1.0f |
| bool | livePlay = false |
| bool | shotInFlight = false |
| bool | goalCelebration = false |
| RenderMath::Vec3 | celebration |
| bool | hasCelebration = false |
| bool | reducedMotion = false |
| RenderMath::Vec3 | active |
| bool | hasActive = false |
What the camera should look at this frame, in metric world space.
| RenderMath::Vec3 MatchCameraFocus::active |
Play mode: the human's active footballer, framed with the ball.
| float MatchCameraFocus::attackDirection = 1.0f |
+1 when the attacking side plays towards +x, -1 otherwise.
| RenderMath::Vec3 MatchCameraFocus::ball |
| RenderMath::Vec3 MatchCameraFocus::ballVelocity |
Ball ground velocity in metres per rendered second.
| RenderMath::Vec3 MatchCameraFocus::carrier |
| float MatchCameraFocus::carrierYaw = 0.0f |
| RenderMath::Vec3 MatchCameraFocus::celebration |
Where the goal is being celebrated (the scorer), if known.
| bool MatchCameraFocus::goalCelebration = false |
| bool MatchCameraFocus::hasActive = false |
| bool MatchCameraFocus::hasCarrier = false |
| bool MatchCameraFocus::hasCelebration = false |
| bool MatchCameraFocus::livePlay = false |
Match context for the TV director.
| bool MatchCameraFocus::reducedMotion = false |
The director holds the main camera when motion should be reduced.
| bool MatchCameraFocus::shotInFlight = false |