MxEngine
Public Member Functions | Public Attributes | List of all members
MxEngine::CameraController Class Reference

Public Member Functions

 CameraController (CameraController &&) noexcept=default
 
CameraControlleroperator= (CameraController &&) noexcept=default
 
template<typename T >
T & GetCamera ()
 
template<typename T >
const T & GetCamera () const
 
void SetCameraType (CameraType type)
 
CameraType GetCameraType () const
 
const Matrix4x4 & GetMatrix (const Vector3 &position) const
 
Matrix4x4 GetStaticMatrix () const
 
GResource< FrameBufferGetFrameBufferMSAA () const
 
GResource< FrameBufferGetFrameBufferHDR () const
 
GResource< RenderBufferGetRenderBufferMSAA () const
 
GResource< TextureGetBloomTexture () const
 
GResource< TextureGetRenderTexture () const
 
void ListenWindowResizeEvent ()
 
void ResizeRenderTexture (size_t width, size_t height)
 
void SetRenderTexture (const GResource< Texture > &texture)
 
bool IsRendered () const
 
void ToggleRendering (bool value)
 
const Vector3 & GetDirection () const
 
void SetDirection (const Vector3 &direction)
 
Vector3 GetDirectionUp () const
 
float GetHorizontalAngle () const
 
float GetVerticalAngle () const
 
void SetBloomWeight (float weight)
 
float GetBloomWeight () const
 
size_t GetBloomIterations () const
 
void SetBloomIterations (size_t iterCount)
 
float GetExposure () const
 
void SetExposure (float exp)
 
float GetMoveSpeed () const
 
void SetMoveSpeed (float speed)
 
float GetRotateSpeed () const
 
void SetRotateSpeed (float speed)
 
CameraControllerRotate (float horz, float vert)
 
void SetForwardVector (const Vector3 &forward)
 
void SetUpVector (const Vector3 &up)
 
void SetRightVector (const Vector3 &right)
 
const Vector3 & GetForwardVector () const
 
const Vector3 & GetUpVector () const
 
const Vector3 & GetRightVector () const
 
template<>
PerspectiveCameraGetCamera ()
 
template<>
const PerspectiveCameraGetCamera () const
 
template<>
FrustrumCameraGetCamera ()
 
template<>
const FrustrumCameraGetCamera () const
 
template<>
OrthographicCameraGetCamera ()
 
template<>
const OrthographicCameraGetCamera () const
 

Public Attributes

CameraBase Camera
 

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