Class DirectionalLightComponent¶
Defined in File directional_light_component.h
Inheritance Relationships¶
Base Type¶
public Component
(Class Component)
Class Documentation¶
-
class
DirectionalLightComponent
: public Component¶ Component to apply a dynamic directional light to the scene, only the first created instance is used in case of multiple such components.
Public Functions
-
~DirectionalLightComponent
()¶
-
const DirectionalLight &
getDirectionalLight
() const¶
-
JSON::json
getJSON
() const¶ Get JSON representation of the component data needed to re-construct component from memory.
-
void
draw
()¶ Expose the component data with ImGui.
-