57 FCT::Vec3 direction = FCT::Vec3(0.0f, -1.0f, 0.0f);
58 FCT::Vec3 color = FCT::Vec3(1.0f, 1.0f, 1.0f);
59 float intensity = 1.0f;
62 DirectionalLightComponent() =
default;
64 DirectionalLightComponent(
const FCT::Vec3& dir,
const FCT::Vec3& col,
float intens,
bool enable =
true)
65 : direction(dir), color(col), intensity(intens), enabled(enable)
69 friend class boost::serialization::access;
71 template<
class Archive>
72 void serialize(Archive & ar,
const unsigned int version)
84 std::string modelUuid;
85 std::string texturePath;
86 FCT::Image* texture =
nullptr;
87 DiffuseTextureComponent() =
default;
89 DiffuseTextureComponent(
const std::string& uuid,
const std::string& path)
90 : modelUuid(uuid), texturePath(path)
94 friend class boost::serialization::access;
95 template<
class Archive>
96 void serialize(Archive & ar,
const unsigned int version)