Class PointLightComponent

Inheritance Relationships

Base Type

Derived Type

Class Documentation

class PointLightComponent : public Component

Component to apply dynamic point lights to the scene.

Subclassed by StaticPointLightComponent

Public Functions

PointLightComponent(Entity &owner, const JSON::json &data)
Matrix getAbsoluteTransform()
const PointLight &getPointLight() 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.