Class SpotLightComponent

Inheritance Relationships

Base Type

Class Documentation

class SpotLightComponent : public Component

Component to apply dynamic spot lights to the scene.

Public Functions

SpotLightComponent(Entity &owner, const JSON::json &data)
~SpotLightComponent()
Matrix getAbsoluteTransform()
const SpotLight &getSpotLight() 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.