Radium Engine
1.5.20
|
#include <Core/Asset/LightData.hpp>
Public Member Functions | |
LightAttenuation (Scalar c=1, Scalar l=0, Scalar q=0) | |
Public Attributes | |
Scalar | constant |
Scalar | linear |
Scalar | quadratic |
Define the parameters of the attenuation function. The only supported attenuation function is 1/ (constant + linear*dist + quadradic*dist^2 )
Definition at line 44 of file LightData.hpp.
|
inlineexplicit |
Definition at line 48 of file LightData.hpp.
Scalar Ra::Core::Asset::LightData::LightAttenuation::constant |
Definition at line 45 of file LightData.hpp.
Scalar Ra::Core::Asset::LightData::LightAttenuation::linear |
Definition at line 46 of file LightData.hpp.
Scalar Ra::Core::Asset::LightData::LightAttenuation::quadratic |
Definition at line 47 of file LightData.hpp.