|
2D_Game_Engine
|
#include <entity.hpp>
Public Member Functions | |
| LightComponent () | |
| LightComponent (float x_offset, float y_offset, float radius, float blur, Vec3 color, LightType type, uint32_t uid) | |
| LightComponent (uint32_t uid) | |
| void | SetOffset (float x_offset, float y_offset) |
| void | SetCentered (float width, float height) |
Public Attributes | |
| float | m_XOffset |
| float | m_YOffset |
| float | m_Radius |
| float | m_Blur |
| Vec3 | m_Color |
| LightType | m_Type |
| uint32_t | m_UID |
Definition at line 262 of file entity.hpp.
| LightComponent::LightComponent | ( | ) |
Definition at line 130 of file entity.cpp.
| LightComponent::LightComponent | ( | float | x_offset, |
| float | y_offset, | ||
| float | radius, | ||
| float | blur, | ||
| Vec3 | color, | ||
| LightType | type, | ||
| uint32_t | uid ) |
Definition at line 131 of file entity.cpp.
| LightComponent::LightComponent | ( | uint32_t | uid | ) |
Definition at line 133 of file entity.cpp.
| void LightComponent::SetCentered | ( | float | width, |
| float | height ) |
Definition at line 140 of file entity.cpp.
| void LightComponent::SetOffset | ( | float | x_offset, |
| float | y_offset ) |
Definition at line 135 of file entity.cpp.
| float LightComponent::m_Blur |
Definition at line 272 of file entity.hpp.
| Vec3 LightComponent::m_Color |
Definition at line 273 of file entity.hpp.
| float LightComponent::m_Radius |
Definition at line 272 of file entity.hpp.
| LightType LightComponent::m_Type |
Definition at line 274 of file entity.hpp.
| uint32_t LightComponent::m_UID |
Definition at line 276 of file entity.hpp.
| float LightComponent::m_XOffset |
Definition at line 271 of file entity.hpp.
| float LightComponent::m_YOffset |
Definition at line 271 of file entity.hpp.