Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
AmbientLightComponent.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
Components/BaseComponent.hpp
>
4
#include <glm/glm.hpp>
5
6
namespace
shkyera
{
7
8
struct
AmbientLightComponent
{
9
float
intensity
= 1;
10
glm::vec3
color
= {0.1, 0.1, 0.1};
11
};
12
13
}
// namespace shkyera
BaseComponent.hpp
shkyera
Definition
Asset.hpp:6
shkyera::AmbientLightComponent
Definition
AmbientLightComponent.hpp:8
shkyera::AmbientLightComponent::intensity
float intensity
Definition
AmbientLightComponent.hpp:9
shkyera::AmbientLightComponent::color
glm::vec3 color
Definition
AmbientLightComponent.hpp:10
src
Components
AmbientLightComponent.hpp
Generated by
1.9.8
Franciszek Szewczyk © 2023