4#ifndef TRAM_SDK_COMPONENTS_LIGHTCOMPONENT_H
5#define TRAM_SDK_COMPONENTS_LIGHTCOMPONENT_H
Definition: entitycomponent.h:18
float GetDistance()
Returns the distance of the light.
Definition: light.cpp:72
void SetDistance(float dist)
Sets the distance of the light.
Definition: light.cpp:51
~LightComponent()
Definition: light.cpp:21
void SetLocation(vec3 location)
Sets the location of the light.
Definition: light.cpp:38
void SetDirection(vec3 direction)
Definition: light.cpp:56
void Init()
Definition: light.cpp:10
vec3 GetColor()
Returns the color of the light.
Definition: light.cpp:67
Render::color_t color
Definition: light.h:33
float distance
Definition: light.h:34
void EventHandler(Event &event)
Definition: light.h:26
void SetExponent(float exponent)
Definition: light.cpp:61
void SetColor(Render::color_t color)
Sets the color of the light.
Definition: light.cpp:44
Render::light_t light
Definition: light.h:31
void Update()
Definition: light.cpp:29
vec3 direction
Definition: light.h:35
void Start()
Definition: light.h:15
float exponent
Definition: light.h:36
vec3 location
Definition: light.h:32
vec3 color_t
Definition: render.h:17
glm::vec3 vec3
Definition: math.h:12
void * generic
Definition: render.h:160