Radium Engine  1.5.20
Loading...
Searching...
No Matches
Ra::Engine::Scene::Light::Attenuation Struct Reference

#include <Engine/Scene/Light.hpp>

+ Collaboration diagram for Ra::Engine::Scene::Light::Attenuation:

Public Attributes

Scalar constant { 1 }
 
Scalar linear { 0 }
 
Scalar quadratic { 0 }
 

Detailed Description

Define the attenuation of the light source

Todo
for the moment, the attenuation is non physically coherent. make attenuation be quadratic by default

Definition at line 34 of file Light.hpp.

Member Data Documentation

◆ constant

Scalar Ra::Engine::Scene::Light::Attenuation::constant { 1 }

Definition at line 35 of file Light.hpp.

◆ linear

Scalar Ra::Engine::Scene::Light::Attenuation::linear { 0 }

Definition at line 36 of file Light.hpp.

◆ quadratic

Scalar Ra::Engine::Scene::Light::Attenuation::quadratic { 0 }

Definition at line 37 of file Light.hpp.


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