SolarSim
Loading...
Searching...
No Matches
solarsim::LightComponent Struct Reference

Defines light source properties for scene illumination. More...

#include <light_component.hpp>

Data Fields

std::string meshID
std::string shaderID
glm::vec3 color = glm::vec3(1.0f)
float radius = 1000.0f

Detailed Description

Defines light source properties for scene illumination.

Note
Currently only a point light implementation

Field Documentation

◆ color

glm::vec3 solarsim::LightComponent::color = glm::vec3(1.0f)

RGB color of the light

◆ meshID

std::string solarsim::LightComponent::meshID

Identifier for the mesh geometry resource

◆ radius

float solarsim::LightComponent::radius = 1000.0f

Effective radius/range of the light

◆ shaderID

std::string solarsim::LightComponent::shaderID

Identifier for the shader program to use


The documentation for this struct was generated from the following file: