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