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

Public Member Functions

void SetFOV (float angle)
 
float GetFOV () const
 
- Public Member Functions inherited from MxEngine::CameraBase
 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)
 

Static Public Attributes

static constexpr float DefaultFOV = 65.0f
 

Additional Inherited Members

- Public Attributes inherited from MxEngine::CameraBase
bool UpdateProjection = true
 

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