7 #ifndef CAFU_GAMESYS_COMPONENT_RADIOSITY_LIGHT_HPP_INCLUDED
8 #define CAFU_GAMESYS_COMPONENT_RADIOSITY_LIGHT_HPP_INCLUDED
10 #include "CompLight.hpp"
29 Vector3fT GetColor()
const {
return m_Color.Get(); }
30 float GetIntensity()
const {
return m_Intensity.
Get(); }
31 float GetConeAngle()
const {
return m_ConeAngle.
Get(); }
36 const char*
GetName()
const {
return "RadiosityLight"; }
48 static int toString(lua_State* LuaState);
51 static const char* DocClass;
The common base class for light source components.
Definition: CompLight.hpp:18
This is a "wrapper" around a normal C++ variable.
Definition: SetCompVar.hpp:15
This class represents a polymorphic 3-dimensional vector.
Definition: Misc.hpp:11
const char * GetName() const
Returns the name of this component.
Definition: CompLightRadiosity.hpp:36
This component adds a radiosity point light source to its entity.
Definition: CompLightRadiosity.hpp:18
ComponentRadiosityLightT()
The constructor.
Definition: CompLightRadiosity.cpp:42
static const luaL_Reg MethodsList[]
The list of Lua methods for this class.
Definition: CompLightRadiosity.hpp:50
ComponentRadiosityLightT * Clone() const
The virtual copy constructor.
Definition: CompLightRadiosity.cpp:66
Definition: TypeSys.hpp:52
Definition: TypeSys.hpp:57
This class keeps type information (about an entity class that occurs in the game).
Definition: TypeSys.hpp:79
const T & Get() const
Returns the value of this variable.
Definition: Variables.hpp:182
Definition: TypeSys.hpp:68