Go to the source code of this file.
|
| void | create_camera_entity (const flecs::world &world, const glm::vec3 &position=glm::vec3(0), const glm::vec3 &rotation=glm::vec3(0), float fov=45.0f, float near_plane=0.1f, float far_plane=1000.0f) |
| |
| void | create_mesh_entity (const char *name, const char *path, const glm::vec3 &position=glm::vec3(0), const glm::vec3 &rotation=glm::vec3(0), const glm::vec3 &scale=glm::vec3(1.0f), const char *material_tag="default_material") |
| |
| void | create_model_entity (const char *name, const char *path, const glm::vec3 &position=glm::vec3(0), const glm::vec3 &rotation=glm::vec3(0), const glm::vec3 &scale=glm::vec3(1.0f)) |
| |
| void | create_material (const char *name, const Material &material) |
| |
◆ create_camera_entity()
| void create_camera_entity |
( |
const flecs::world & |
world, |
|
|
const glm::vec3 & |
position = glm::vec3(0), |
|
|
const glm::vec3 & |
rotation = glm::vec3(0), |
|
|
float |
fov = 45.0f, |
|
|
float |
near_plane = 0.1f, |
|
|
float |
far_plane = 1000.0f |
|
) |
| |
◆ create_material()
| void create_material |
( |
const char * |
name, |
|
|
const Material & |
material |
|
) |
| |
◆ create_mesh_entity()
| void create_mesh_entity |
( |
const char * |
name, |
|
|
const char * |
path, |
|
|
const glm::vec3 & |
position = glm::vec3(0), |
|
|
const glm::vec3 & |
rotation = glm::vec3(0), |
|
|
const glm::vec3 & |
scale = glm::vec3(1.0f), |
|
|
const char * |
material_tag = "default_material" |
|
) |
| |
◆ create_model_entity()
| void create_model_entity |
( |
const char * |
name, |
|
|
const char * |
path, |
|
|
const glm::vec3 & |
position = glm::vec3(0), |
|
|
const glm::vec3 & |
rotation = glm::vec3(0), |
|
|
const glm::vec3 & |
scale = glm::vec3(1.0f) |
|
) |
| |