3#include "pixelbullet/serialization/glm_node.h"
10 glm::vec3 color = glm::vec3(1.0f);
11 float intensity = 1.0f;
17 node[
"enabled"] << light.enabled;
18 node[
"color"] << light.color;
19 node[
"intensity"] << light.intensity;
20 node[
"range"] << light.range;
24inline const Node& operator>>(
const Node& node, PointLightComponent& light)
26 node[
"enabled"] >> light.enabled;
27 node[
"color"] >> light.color;
28 node[
"intensity"] >> light.intensity;
29 node[
"range"] >> light.range;
Represents a hierarchical node capable of storing various data types and supporting YAML serializatio...
Definition node.h:45
Definition point_light_component.h:8