#include <CameraFactory.h>
|
| static EntityID | create (Scene *scene, const std::string &name, float fov=70.0f, float aspect=16.0f/9.0f, float near_plane=0.1f, float far_plane=1000.0f, const glm::vec3 &position=glm::vec3(0.0f)) |
| |
| static EntityID | create_looking_at (Scene *scene, const std::string &name, const glm::vec3 &position, const glm::vec3 &target, float fov=70.0f, float aspect=16.0f/9.0f, float near_plane=0.1f, float far_plane=1000.0f) |
| |
| static Entity * | create (const std::string &name="PerspectiveCamera", float fov=45.0f, float aspect=16.0f/9.0f, float near_plane=0.1f, float far_plane=100.0f, const glm::vec3 &position=glm::vec3(0.0f, 0.0f, 0.0f)) |
| |
| static Entity * | create_looking_at (const std::string &name, const glm::vec3 &position, const glm::vec3 &target, float fov=45.0f, float aspect=16.0f/9.0f, float near_plane=0.1f, float far_plane=100.0f) |
| |
Definition at line 9 of file CameraFactory.h.
◆ create() [1/2]
| static Entity * hellfire::PerspectiveCamera::create |
( |
const std::string & |
name = "PerspectiveCamera", |
|
|
float |
fov = 45.0f, |
|
|
float |
aspect = 16.0f / 9.0f, |
|
|
float |
near_plane = 0.1f, |
|
|
float |
far_plane = 100.0f, |
|
|
const glm::vec3 & |
position = glm::vec3(0.0f, 0.0f, 0.0f) |
|
) |
| |
|
inlinestatic |
◆ create() [2/2]
| EntityID hellfire::PerspectiveCamera::create |
( |
Scene * |
scene, |
|
|
const std::string & |
name, |
|
|
float |
fov = 70.0f, |
|
|
float |
aspect = 16.0f/9.0f, |
|
|
float |
near_plane = 0.1f, |
|
|
float |
far_plane = 1000.0f, |
|
|
const glm::vec3 & |
position = glm::vec3(0.0f) |
|
) |
| |
|
static |
◆ create_looking_at() [1/2]
| static Entity * hellfire::PerspectiveCamera::create_looking_at |
( |
const std::string & |
name, |
|
|
const glm::vec3 & |
position, |
|
|
const glm::vec3 & |
target, |
|
|
float |
fov = 45.0f, |
|
|
float |
aspect = 16.0f / 9.0f, |
|
|
float |
near_plane = 0.1f, |
|
|
float |
far_plane = 100.0f |
|
) |
| |
|
inlinestatic |
◆ create_looking_at() [2/2]
| EntityID hellfire::PerspectiveCamera::create_looking_at |
( |
Scene * |
scene, |
|
|
const std::string & |
name, |
|
|
const glm::vec3 & |
position, |
|
|
const glm::vec3 & |
target, |
|
|
float |
fov = 70.0f, |
|
|
float |
aspect = 16.0f/9.0f, |
|
|
float |
near_plane = 0.1f, |
|
|
float |
far_plane = 1000.0f |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: