RenderLight.h
LightAttributes state
Attributes of the light. Edit these to modify the light.
Definition: RenderLight.h:96
Vector lights have a single location in space. The intensity of the light is dependent on how close o...
Definition: AssetID.h:37
void OnDraw()
Function that is called upon each Draw iteration. Component Draw()s are run before the entity's draw ...
Color color
Color of the light.
Definition: RenderLight.h:90
std::string GetInfo()
Returns a string containing human-readable information on the state of the component.
Directional lights have a constant effect on object regardless of the object's proximity.
Class that extends the functionality of an Entity, but as a removable and addable object...
Definition: Component.h:66
float intensity
Intensity of the light.
Definition: RenderLight.h:86
Vector position
Global / absolute position of the light.
Definition: RenderLight.h:82