Pyrogenesis  trunk
Public Member Functions | Public Attributes | Private Member Functions | List of all members
CGameViewImpl Class Reference
Collaboration diagram for CGameViewImpl:
Collaboration graph
[legend]

Public Member Functions

 CGameViewImpl (CGame *game)
 

Public Attributes

CGameGame
 
CColladaManager ColladaManager
 
CMeshManager MeshManager
 
CSkeletonAnimManager SkeletonAnimManager
 
CObjectManager ObjectManager
 
CLOSTexture LOSTexture
 
CTerritoryTexture TerritoryTexture
 
CCamera ViewCamera
 this camera controls the eye position when rendering More...
 
CCamera CullCamera
 this camera controls the frustum that is used for culling and shadow calculations More...
 
bool LockCullCamera
 When true, the cull camera is locked in place. More...
 
bool Culling
 When true, culling is enabled so that only models that have a chance of being visible are sent to the renderer. More...
 
bool ConstrainCamera
 Whether the camera movement should be constrained by min/max limits and terrain avoidance. More...
 
CLightEnv CachedLightEnv
 Cache global lighting environment. More...
 
CCinemaManager CinemaManager
 
entity_id_t FollowEntity
 Entity for the camera to follow, or INVALID_ENTITY if none. More...
 
bool FollowFirstPerson
 Whether to follow FollowEntity in first-person mode. More...
 
float ViewScrollSpeed
 
float ViewScrollSpeedModifier
 
float ViewRotateXSpeed
 
float ViewRotateXMin
 
float ViewRotateXMax
 
float ViewRotateXDefault
 
float ViewRotateYSpeed
 
float ViewRotateYSpeedWheel
 
float ViewRotateYDefault
 
float ViewRotateSpeedModifier
 
float ViewDragSpeed
 
float ViewZoomSpeed
 
float ViewZoomSpeedWheel
 
float ViewZoomMin
 
float ViewZoomMax
 
float ViewZoomDefault
 
float ViewZoomSpeedModifier
 
float ViewFOV
 
float ViewNear
 
float ViewFar
 
int JoystickPanX
 
int JoystickPanY
 
int JoystickRotateX
 
int JoystickRotateY
 
int JoystickZoomIn
 
int JoystickZoomOut
 
float HeightSmoothness
 
float HeightMin
 
CSmoothedValue PosX
 
CSmoothedValue PosY
 
CSmoothedValue PosZ
 
CSmoothedValue Zoom
 
CSmoothedValue RotateX
 
CSmoothedValue RotateY
 

Private Member Functions

 NONCOPYABLE (CGameViewImpl)
 

Constructor & Destructor Documentation

CGameViewImpl::CGameViewImpl ( CGame game)
inline

Member Function Documentation

CGameViewImpl::NONCOPYABLE ( CGameViewImpl  )
private

Member Data Documentation

CLightEnv CGameViewImpl::CachedLightEnv

Cache global lighting environment.

This is used to check whether the environment has changed during the last frame, so that vertex data can be updated etc.

CCinemaManager CGameViewImpl::CinemaManager
CColladaManager CGameViewImpl::ColladaManager
bool CGameViewImpl::ConstrainCamera

Whether the camera movement should be constrained by min/max limits and terrain avoidance.

CCamera CGameViewImpl::CullCamera

this camera controls the frustum that is used for culling and shadow calculations

Note that all code that works with camera movements should only change m_ViewCamera. The render functions automatically sync the cull camera to the view camera depending on the value of m_LockCullCamera.

bool CGameViewImpl::Culling

When true, culling is enabled so that only models that have a chance of being visible are sent to the renderer.

Otherwise, the entire world is sent to the renderer.

Exposed to JS as gameView.culling

entity_id_t CGameViewImpl::FollowEntity

Entity for the camera to follow, or INVALID_ENTITY if none.

bool CGameViewImpl::FollowFirstPerson

Whether to follow FollowEntity in first-person mode.

CGame* CGameViewImpl::Game
float CGameViewImpl::HeightMin
float CGameViewImpl::HeightSmoothness
int CGameViewImpl::JoystickPanX
int CGameViewImpl::JoystickPanY
int CGameViewImpl::JoystickRotateX
int CGameViewImpl::JoystickRotateY
int CGameViewImpl::JoystickZoomIn
int CGameViewImpl::JoystickZoomOut
bool CGameViewImpl::LockCullCamera

When true, the cull camera is locked in place.

When false, the cull camera follows the view camera.

Exposed to JS as gameView.lockCullCamera

CLOSTexture CGameViewImpl::LOSTexture
CMeshManager CGameViewImpl::MeshManager
CObjectManager CGameViewImpl::ObjectManager
CSmoothedValue CGameViewImpl::PosX
CSmoothedValue CGameViewImpl::PosY
CSmoothedValue CGameViewImpl::PosZ
CSmoothedValue CGameViewImpl::RotateX
CSmoothedValue CGameViewImpl::RotateY
CSkeletonAnimManager CGameViewImpl::SkeletonAnimManager
CTerritoryTexture CGameViewImpl::TerritoryTexture
CCamera CGameViewImpl::ViewCamera

this camera controls the eye position when rendering

float CGameViewImpl::ViewDragSpeed
float CGameViewImpl::ViewFar
float CGameViewImpl::ViewFOV
float CGameViewImpl::ViewNear
float CGameViewImpl::ViewRotateSpeedModifier
float CGameViewImpl::ViewRotateXDefault
float CGameViewImpl::ViewRotateXMax
float CGameViewImpl::ViewRotateXMin
float CGameViewImpl::ViewRotateXSpeed
float CGameViewImpl::ViewRotateYDefault
float CGameViewImpl::ViewRotateYSpeed
float CGameViewImpl::ViewRotateYSpeedWheel
float CGameViewImpl::ViewScrollSpeed
float CGameViewImpl::ViewScrollSpeedModifier
float CGameViewImpl::ViewZoomDefault
float CGameViewImpl::ViewZoomMax
float CGameViewImpl::ViewZoomMin
float CGameViewImpl::ViewZoomSpeed
float CGameViewImpl::ViewZoomSpeedModifier
float CGameViewImpl::ViewZoomSpeedWheel
CSmoothedValue CGameViewImpl::Zoom

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