4 #include <cereal/archives/json.hpp> 25 glm::vec4
Pos { 0.0f };
30 template<
class Archive>
33 FORCEINLINE
void SetPos(
const glm::vec4& t_Pos) {
Pos = t_Pos; }
37 template<
class Archive>
46 cereal::make_nvp(
"RANGE",
Range),
float Intensity
Definition: PointLight.hpp:27
void serialize(Archive &t_Archive)
Serilazation to an archive.
Definition: PointLight.hpp:38
Simple representation of a point light in Light Vox.
Definition: PointLight.hpp:12
glm::vec4 Pos
The position of this point light will be set from it's Transform component.
Definition: PointLight.hpp:25
FORCEINLINE void SetPos(const glm::vec4 &t_Pos)
Definition: PointLight.hpp:33
glm::vec4 DiffuseColor
Diffuse color of this point light, RBA on a scale of 0.0 to 1.0.
Definition: PointLight.hpp:19
float Range
Definition: PointLight.hpp:28