1#include "scene/components/LightComponent.h"
7 if (json.contains(
"color"))
9 const auto& colorObj = json[
"color"];
11 colorObj.value(
"r", 1.0f),
12 colorObj.value(
"g", 1.0f),
13 colorObj.value(
"b", 1.0f)
void LoadProperties(const nlohmann::json &json) override
void Update(float deltaTime) override
const glm::vec3 & GetColor() const
void SetColor(const glm::vec3 &color)