MxEngine
Public Member Functions | Public Attributes | List of all members
MxEngine::CameraBase Class Reference
Inheritance diagram for MxEngine::CameraBase:
MxEngine::FrustrumCamera MxEngine::OrthographicCamera MxEngine::PerspectiveCamera

Public Member Functions

 MXENGINE_MAKE_MOVEONLY (CameraBase)
 
const Matrix4x4 & GetMatrix () const
 
const Matrix4x4 & GetProjectionMatrix () const
 
const Matrix4x4 & GetViewMatrix () const
 
const Vector2 & GetProjectionCenter () const
 
void SetProjectionCenter (const Vector2 &center)
 
void SetProjectionMatrix (const Matrix4x4 &projection)
 
void SetViewMatrix (const Matrix4x4 &view)
 
float GetZoom () const
 
void SetZoom (float zoom)
 
void SetAspectRatio (float w, float h=1.0f)
 
float GetAspectRatio () const
 
float GetZFar () const
 
void SetZFar (float zFar)
 
float GetZNear () const
 
void SetZNear (float zNear)
 

Public Attributes

bool UpdateProjection = true
 

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