Camera interface.
More...
#include <ICamera.hpp>
◆ Mode
| Enumerator |
|---|
| CUSTOM | |
| FREE | |
| ORBITAL | |
| FIRST_PERSON | |
| THIRD_PERSON | |
◆ Projection
| Enumerator |
|---|
| PERSPECTIVE | |
| ORTHOGRAPHIC | |
◆ ~ICamera()
| virtual graphic::ICamera::~ICamera |
( |
| ) |
|
|
virtualdefault |
◆ getFov()
| virtual float graphic::ICamera::getFov |
( |
| ) |
const |
|
pure virtual |
Get the FOV.
- Returns
- float
Implemented in RayCamera.
◆ getMode()
| virtual Mode graphic::ICamera::getMode |
( |
| ) |
const |
|
pure virtual |
◆ getPosition()
| virtual Vector3f graphic::ICamera::getPosition |
( |
| ) |
const |
|
pure virtual |
◆ getProjection()
| virtual Projection graphic::ICamera::getProjection |
( |
| ) |
const |
|
pure virtual |
◆ getTarget()
| virtual Vector3f graphic::ICamera::getTarget |
( |
| ) |
const |
|
pure virtual |
◆ getUp()
| virtual Vector3f graphic::ICamera::getUp |
( |
| ) |
const |
|
pure virtual |
◆ setFov()
| virtual void graphic::ICamera::setFov |
( |
float | fov | ) |
|
|
pure virtual |
Set the FOV.
- Parameters
-
Implemented in RayCamera.
◆ setMode()
| virtual void graphic::ICamera::setMode |
( |
Mode | mode | ) |
|
|
pure virtual |
◆ setPosition()
| virtual void graphic::ICamera::setPosition |
( |
Vector3f | position | ) |
|
|
pure virtual |
Set the position.
- Parameters
-
Implemented in RayCamera.
◆ setProjection()
| virtual void graphic::ICamera::setProjection |
( |
Projection | projection | ) |
|
|
pure virtual |
◆ setTarget()
| virtual void graphic::ICamera::setTarget |
( |
Vector3f | size | ) |
|
|
pure virtual |
Set the target.
- Parameters
-
Implemented in RayCamera.
◆ setUp()
| virtual void graphic::ICamera::setUp |
( |
Vector3f | up | ) |
|
|
pure virtual |
Set the up vector.
- Parameters
-
Implemented in RayCamera.
The documentation for this interface was generated from the following file: