|
Player12
An open source football management simulator
|
#include <imatch_renderer.h>
Public Attributes | |
| float | zoomSteps = 0.0f |
| float | orbitX = 0.0f |
| float | orbitY = 0.0f |
| bool | pan = false |
| float | panFromX = 0.0f |
| float | panFromY = 0.0f |
| float | panToX = 0.0f |
| float | panToY = 0.0f |
| bool | retarget = false |
| float | retargetX = 0.0f |
| float | retargetY = 0.0f |
| bool | followBall = false |
| bool | reset = false |
Mouse input for the 3D camera gathered over the view since the previous frame. Deltas are logical pixels; the renderer turns them into orbit angles and ground movement with the projection the user was looking at.
| bool MatchCameraInput::followBall = false |
Free camera orbits the moving ball, keeping the user's angle.
| float MatchCameraInput::orbitX = 0.0f |
Orbit drag in pixels (x turns around the target, y tilts).
| float MatchCameraInput::orbitY = 0.0f |
| bool MatchCameraInput::pan = false |
Pan drag: the ground under panFrom moves to panTo (pixels).
| float MatchCameraInput::panFromX = 0.0f |
| float MatchCameraInput::panFromY = 0.0f |
| float MatchCameraInput::panToX = 0.0f |
| float MatchCameraInput::panToY = 0.0f |
| bool MatchCameraInput::reset = false |
Returns the free camera to its default overview.
| bool MatchCameraInput::retarget = false |
Re-target the free camera on the ground point under this pixel.
| float MatchCameraInput::retargetX = 0.0f |
| float MatchCameraInput::retargetY = 0.0f |
| float MatchCameraInput::zoomSteps = 0.0f |
Mouse-wheel steps (positive zooms in).