|
CeresEngine 0.2.0
A game development framework
|
#include <CeresEngine/Scene/Camera.hpp>
Classes | |
| struct | Accessor |
A class that describes access to a CameraComponent. More... | |
Public Member Functions | |
| virtual CE_DISABLE_WARNING_MISSING_OVERRIDE ::CeresEngine::ClassInfo | getClassInfo () const noexcept |
| virtual ::CeresEngine::ClassInfo | getClassInfo () noexcept |
| CameraComponent () | |
Creates a new CameraComponent with the default values. | |
| ~CameraComponent () noexcept final | |
Public Member Functions inherited from CeresEngine::Component< CameraComponent > | |
| const ComponentType & | getComponentType () const noexcept final |
| Gets the component type. | |
Public Member Functions inherited from CeresEngine::AbstractComponent | |
| virtual | ~AbstractComponent ()=default |
| Defaulted virtual destructor. | |
Static Public Member Functions | |
| template<typename Processor > | |
| static constexpr void | reflect (Processor &&RTTI) |
| Executes the given processor for every field of the struct. | |
Public Attributes | |
| double | fieldOfView = 45.0 |
| The camera field of view. | |
| double | nearPlane = 0.1 |
| The distance where objects near from the camera start clipping. | |
| double | farPlane = std::numeric_limits<double>::infinity() |
| The distance where objects far from the camera start clipping. | |
| double | aspectRatio = 4.0 / 3.0 |
| The screen aspect ration. | |
| GPUImagePtr | renderImage |
| The render target that the camera should render to. | |
| RendererCameraSettings | rendererSettings |
| A set of settings that should be used by renderer when rendering this camera. | |
Additional Inherited Members | |
Static Public Attributes inherited from CeresEngine::Component< CameraComponent > | |
| static const ComponentID | componentID |
| This component type ID. | |
| static const ComponentMask | mask |
| The component mask. | |
| static const ComponentType & | componentType |
| Gets the component type. | |
| CeresEngine::CameraComponent::CameraComponent | ( | ) |
Creates a new CameraComponent with the default values.
|
finalnoexcept |
|
virtualnoexcept |
Reimplemented from CeresEngine::AbstractComponent.
|
virtualnoexcept |
Reimplemented from CeresEngine::AbstractComponent.
|
inlinestaticconstexpr |
Executes the given processor for every field of the struct.
| RTTI | The processor to be ran for every field. |
| double CeresEngine::CameraComponent::aspectRatio = 4.0 / 3.0 |
The screen aspect ration.
The distance where objects far from the camera start clipping.
| double CeresEngine::CameraComponent::fieldOfView = 45.0 |
The camera field of view.
| double CeresEngine::CameraComponent::nearPlane = 0.1 |
The distance where objects near from the camera start clipping.
| RendererCameraSettings CeresEngine::CameraComponent::rendererSettings |
A set of settings that should be used by renderer when rendering this camera.
| GPUImagePtr CeresEngine::CameraComponent::renderImage |
The render target that the camera should render to.