#include <GameView.h>
◆ CGameView()
CGameView::CGameView |
( |
CGame * |
pGame | ) |
|
◆ ~CGameView()
CGameView::~CGameView |
( |
| ) |
|
|
override |
◆ BeginFrame()
void CGameView::BeginFrame |
( |
| ) |
|
◆ DECLARE_BOOLEAN_SETTING() [1/3]
CGameView::DECLARE_BOOLEAN_SETTING |
( |
Culling |
| ) |
|
◆ DECLARE_BOOLEAN_SETTING() [2/3]
CGameView::DECLARE_BOOLEAN_SETTING |
( |
LockCullCamera |
| ) |
|
◆ DECLARE_BOOLEAN_SETTING() [3/3]
CGameView::DECLARE_BOOLEAN_SETTING |
( |
ConstrainCamera |
| ) |
|
◆ EnumerateObjects()
Send all objects that can be seen when rendering the given frustum to the scene collector.
- Parameters
-
frustum | The frustum that will be used for rendering. |
c | The scene collector that should receive objects inside the frustum that are visible. |
Implements Scene.
◆ FollowEntity()
void CGameView::FollowEntity |
( |
entity_id_t |
entity, |
|
|
bool |
firstPerson |
|
) |
| |
◆ GetCamera()
◆ GetCameraPivot()
CVector3D CGameView::GetCameraPivot |
( |
| ) |
const |
◆ GetCameraPosition()
CVector3D CGameView::GetCameraPosition |
( |
| ) |
const |
◆ GetCameraRotation()
CVector3D CGameView::GetCameraRotation |
( |
| ) |
const |
◆ GetCameraZoom()
float CGameView::GetCameraZoom |
( |
| ) |
const |
◆ GetCinema()
◆ GetFollowedEntity()
◆ GetLOSTexture()
Return the LOS texture to be used for rendering this scene.
Implements Scene.
◆ GetMiniMapTexture()
Return the minimap texture to be used for rendering this scene.
Implements Scene.
◆ GetObjectManager()
◆ GetTerritoryTexture()
Return the territory texture to be used for rendering this scene.
Implements Scene.
◆ HandleEvent()
◆ Initialize()
int CGameView::Initialize |
( |
| ) |
|
◆ MoveCameraTarget()
void CGameView::MoveCameraTarget |
( |
const CVector3D & |
target | ) |
|
◆ NONCOPYABLE()
◆ Prepare()
◆ RegisterInit()
void CGameView::RegisterInit |
( |
| ) |
|
◆ Render()
◆ RenderOverlays()
◆ ResetCameraTarget()
void CGameView::ResetCameraTarget |
( |
const CVector3D & |
target | ) |
|
◆ SetCamera()
void CGameView::SetCamera |
( |
const CVector3D & |
pos, |
|
|
float |
rotX, |
|
|
float |
rotY, |
|
|
float |
zoom |
|
) |
| |
◆ SetViewport()
void CGameView::SetViewport |
( |
const SViewPort & |
vp | ) |
|
◆ UnloadResources()
void CGameView::UnloadResources |
( |
| ) |
|
|
private |
◆ Update()
void CGameView::Update |
( |
const float |
deltaRealTime | ) |
|
Updates all the view information (i.e.
rotate camera, scroll, whatever). This will not change any World information - only the presentation.
- Parameters
-
deltaRealTime | Elapsed real time since the last frame. |
The documentation for this class was generated from the following files: