A free flying 3D camera.
More...
#include <freeflycamera.h>
|
| | FreeFlyCamera (glm::vec3 position, float flySpeed=30.0f, float lookSensitivity=0.25f) |
| | Creates a 3D camera. More...
|
| |
| void | update (Window *window, float deltaTime) |
| |
| | PerspectiveCamera (glm::vec3 position=glm::vec3(0.0f, 0.0f, 0.0f), glm::vec3 worldUp=glm::vec3(0.0f, 1.0f, 0.0f), float aspectRatio=1.33f, float fov=45.0f) |
| | Creates a perspective camera. More...
|
| |
| | PerspectiveCamera (float posX, float posY, float posZ, float upX, float upY, float upZ) |
| | Creates a perspective camera using default settings and scalar quantities. More...
|
| |
| const glm::mat4 & | getViewMatrix () |
| | Gets the reference to the camera's view matrix. More...
|
| |
| const glm::mat4 & | getProjectionMatrix () const |
| | Gets the reference to the camera's projection matrix. More...
|
| |
| const glm::mat4 & | getViewProjectionsMatrix () const |
| | Gets the reference to the camera's ViewProjections matrix. More...
|
| |
◆ FreeFlyCamera()
| fireworks::graphics::FreeFlyCamera::FreeFlyCamera |
( |
glm::vec3 |
position, |
|
|
float |
flySpeed = 30.0f, |
|
|
float |
lookSensitivity = 0.25f |
|
) |
| |
Creates a 3D camera.
- Parameters
-
| position | The starting position of the camera in 3d space |
| flySpeed | The movement speed of the camera |
| lookSensitivity | The look speed of the camera |
◆ update()
| void fireworks::graphics::FreeFlyCamera::update |
( |
Window * |
window, |
|
|
float |
deltaTime |
|
) |
| |
◆ MouseSensitivity
| float fireworks::graphics::FreeFlyCamera::MouseSensitivity |
The look speed of the camera.
◆ MovementSpeed
| float fireworks::graphics::FreeFlyCamera::MovementSpeed |
The movement speed of the camera.
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/fireworks-engine/checkouts/latest/Fireworks Engine/Fireworks Core/src/graphics/freeflycamera.h
- /home/docs/checkouts/readthedocs.org/user_builds/fireworks-engine/checkouts/latest/Fireworks Engine/Fireworks Core/src/graphics/freeflycamera.cpp