13 void Serialize(Json::Value& node,
bool load)
override;
16 glm::vec3
color = glm::vec3(1.0f, 1.0f, 1.0f);
Component describing a point light.
Definition: PointLight.hpp:8
glm::vec3 color
Color.
Definition: PointLight.hpp:16
float intensity
Intensity.
Definition: PointLight.hpp:22
void Serialize(Json::Value &node, bool load) override
Save or load component values to/from JSON.
Definition: PointLight.cpp:9
PointLight()
Create new point light.
Definition: PointLight.cpp:7
float attenuation
Attenuation.
Definition: PointLight.hpp:19
float distance
Distance.
Definition: PointLight.hpp:25
Component which all components inherit.
Definition: SuperComponent.hpp:9
Definition: BoxShapeEditor.hpp:5