sculpto
|
#include <point_light_component.h>
Public Member Functions | |
point_light_component ()=default | |
point_light_component (const point_light_component &Other)=default | |
point_light_component (const vec3 &Color, float Constant, float Linear, float Quadratic) | |
~point_light_component ()=default | |
Public Attributes | |
vec3 | Color { 0.7f } |
float | Strength { 1 } |
float | Constant { 1.0f } |
float | Linear { 0.22f } |
float | Quadratic { 0.20f } |
Point light component class. Transform component sets position.
Definition at line 32 of file point_light_component.h.
|
default |
|
default |
|
inline |
Definition at line 45 of file point_light_component.h.
|
default |
vec3 scl::point_light_component::Color { 0.7f } |
Light color.
Definition at line 35 of file point_light_component.h.
float scl::point_light_component::Constant { 1.0f } |
Point light attenuation coefficients.
Definition at line 39 of file point_light_component.h.
float scl::point_light_component::Linear { 0.22f } |
Definition at line 40 of file point_light_component.h.
float scl::point_light_component::Quadratic { 0.20f } |
Definition at line 41 of file point_light_component.h.
float scl::point_light_component::Strength { 1 } |
Definition at line 36 of file point_light_component.h.