GlPortal Class Reference  0.1.1
Source code documentation of the free and open 3D action puzzle game.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Data Fields
radix::LightSource Class Reference

#include <external/RadixEngine/include/radix/component/LightSource.hpp>

Inherits radix::Component.

Public Member Functions

 LightSource (Entity &ent)
 
const char * getName () const
 
TypeId getTypeId () const
 
void serialize (serine::Archiver &ar)
 
- Public Member Functions inherited from radix::Component
 Component (Entity &ent) noexcept
 
virtual ~Component ()
 

Data Fields

bool enabled
 
Vector3f color
 
float distance
 
float energy
 
float specular
 

Additional Inherited Members

- Public Types inherited from radix::Component
using TypeId = ComponentTypeId
 
- Static Public Member Functions inherited from radix::Component
template<typename T >
static TypeId getTypeId ()
 Gets a component's type ID. More...
 
- Static Public Attributes inherited from radix::Component
static constexpr TypeId MaxId = 32
 
- Protected Attributes inherited from radix::Component
Entityentity
 

Constructor & Destructor Documentation

radix::LightSource::LightSource ( Entity ent)
inline

Member Function Documentation

const char* radix::LightSource::getName ( ) const
inlinevirtual

Implements radix::Component.

TypeId radix::LightSource::getTypeId ( ) const
inlinevirtual

Implements radix::Component.

void radix::LightSource::serialize ( serine::Archiver &  ar)
inline

Field Documentation

Vector3f radix::LightSource::color
float radix::LightSource::distance
bool radix::LightSource::enabled
float radix::LightSource::energy
float radix::LightSource::specular

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