|
SolarSim
|
Defines camera properties for rendering and view projection. More...
#include <camera_component.hpp>
Data Fields | |
| float | fov = 45.0f |
| float | near = 0.1f |
| float | far = 2000.f |
| float | aspect = 800.0f / 600.0f |
| bool | primary = true |
Defines camera properties for rendering and view projection.
| float solarsim::CameraComponent::aspect = 800.0f / 600.0f |
Aspect ratio (width/height)
| float solarsim::CameraComponent::far = 2000.f |
Far clipping plane distance
| float solarsim::CameraComponent::fov = 45.0f |
Field of view in degrees
| float solarsim::CameraComponent::near = 0.1f |
Near clipping plane distance
| bool solarsim::CameraComponent::primary = true |
Whether this is the primary camera. Only one should be true.