#include <CameraFactory.h>
|
| static EntityID | create (Scene *scene, const std::string &name, float size, float aspect, float near_plane=-1.0f, float far_plane=1.0f, const glm::vec3 &position=glm::vec3(0.0f)) |
| |
| static EntityID | create_with_bounds (Scene *scene, const std::string &name, float left, float right, float bottom, float top, float near_plane=-1.0f, float far_plane=1.0f, const glm::vec3 &position=glm::vec3(0.0f)) |
| |
| static Entity * | create (const std::string &name="OrthographicCamera", float size=10.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_with_bounds (const std::string &name, float left, float right, float bottom, float top, float near_plane=0.1f, float far_plane=100.0f, const glm::vec3 &position=glm::vec3(0.0f, 0.0f, 0.0f)) |
| |
Definition at line 33 of file CameraFactory.h.
◆ create() [1/2]
| static Entity * hellfire::OrthographicCamera::create |
( |
const std::string & |
name = "OrthographicCamera", |
|
|
float |
size = 10.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::OrthographicCamera::create |
( |
Scene * |
scene, |
|
|
const std::string & |
name, |
|
|
float |
size, |
|
|
float |
aspect, |
|
|
float |
near_plane = -1.0f, |
|
|
float |
far_plane = 1.0f, |
|
|
const glm::vec3 & |
position = glm::vec3(0.0f) |
|
) |
| |
|
static |
◆ create_with_bounds() [1/2]
| static Entity * hellfire::OrthographicCamera::create_with_bounds |
( |
const std::string & |
name, |
|
|
float |
left, |
|
|
float |
right, |
|
|
float |
bottom, |
|
|
float |
top, |
|
|
float |
near_plane = 0.1f, |
|
|
float |
far_plane = 100.0f, |
|
|
const glm::vec3 & |
position = glm::vec3(0.0f, 0.0f, 0.0f) |
|
) |
| |
|
inlinestatic |
◆ create_with_bounds() [2/2]
| EntityID hellfire::OrthographicCamera::create_with_bounds |
( |
Scene * |
scene, |
|
|
const std::string & |
name, |
|
|
float |
left, |
|
|
float |
right, |
|
|
float |
bottom, |
|
|
float |
top, |
|
|
float |
near_plane = -1.0f, |
|
|
float |
far_plane = 1.0f, |
|
|
const glm::vec3 & |
position = glm::vec3(0.0f) |
|
) |
| |
|
static |
The documentation for this class was generated from the following files: