Entity representing a Camera in 3D space.
More...
#include <Camera3D.hpp>
Entity representing a Camera in 3D space.
◆ Camera3D() [1/2]
3D Camera constructor
- Parameters
-
| position | Camera position |
| target | Camera target it looks-at |
| up | Camera up vector (rotation over its axis) |
| fovy | Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic |
| projection | Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC |
◆ Camera3D() [2/2]
| RAY::Camera::Camera3D::Camera3D |
( |
const Camera3D & |
| ) |
|
|
default |
◆ ~Camera3D()
| RAY::Camera::Camera3D::~Camera3D |
( |
| ) |
|
|
overridedefault |
◆ getFovy()
| float RAY::Camera::Camera3D::getFovy |
( |
void |
| ) |
const |
◆ getMatrix()
| Matrix RAY::Camera::Camera3D::getMatrix |
( |
void |
| ) |
const |
|
overridevirtual |
◆ getPosition()
| RAY::Vector3 RAY::Camera::Camera3D::getPosition |
( |
void |
| ) |
const |
◆ getProjection()
◆ getTarget()
| RAY::Vector3 RAY::Camera::Camera3D::getTarget |
( |
void |
| ) |
const |
◆ getUp()
◆ operator=()
◆ setFovy()
| void RAY::Camera::Camera3D::setFovy |
( |
float |
fovy | ) |
|
◆ setMode()
| void RAY::Camera::Camera3D::setMode |
( |
Mode |
mode | ) |
|
Set camera mode (multiple camera modes available)
◆ setPosition()
| void RAY::Camera::Camera3D::setPosition |
( |
const Vector3 & |
Position | ) |
|
◆ setProjection()
| void RAY::Camera::Camera3D::setProjection |
( |
Projection |
projection | ) |
|
◆ setTarget()
| void RAY::Camera::Camera3D::setTarget |
( |
const Vector3 & |
target | ) |
|
◆ setUp()
| void RAY::Camera::Camera3D::setUp |
( |
const Vector3 & |
up | ) |
|
◆ update()
| void RAY::Camera::Camera3D::update |
( |
void |
| ) |
|
Update camera position for selected mode.
◆ __pad0__
| INTERNAL RAY::Camera::Camera3D::__pad0__ |
|
private |
◆ _camera
| ::Camera3D RAY::Camera::Camera3D::_camera |
|
private |
◆ _mode
| Mode RAY::Camera::Camera3D::_mode |
|
private |
The documentation for this class was generated from the following files: