8#include "hellfire/ecs/LightComponent.h"
12 using EntityID = uint32_t;
18 const std::string& name =
"PointLight",
19 const glm::vec3& position =
glm::
vec3(0.0f),
20 const glm::vec3& color =
glm::
vec3(1.0f),
21 float intensity = 1.0f,
TransformComponent * transform()
static EntityID create(Scene *scene, const std::string &name="PointLight", const glm::vec3 &position=glm::vec3(0.0f), const glm::vec3 &color=glm::vec3(1.0f), float intensity=1.0f, float range=10.0f)
Manages a collection of entities and their hierarchical relationships.
Entity * get_entity(EntityID id)
Retrieves an entity by its ID.
EntityID create_entity(const std::string &name="GameObject")
Creates a new entity in the scene.