OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
Public Member Functions | Static Public Member Functions | List of all members
Engine::LightManager Class Reference

The LightManager class. More...

#include <lightmanager.h>

Public Member Functions

void setBias_Test (float value)
 
float getBias_Test (void)
 
Light * createLight (const string &light_name)
 createLight More...
 
SpotLight * createSpotLight (const string &light_name)
 
void remove (const string &light_name)
 remove More...
 
Light * getLight (const std::string &light_name)
 getLight More...
 
SpotLight * getSpotLight (const std::string &spotlight_name)
 
Lights getLights (void)
 getLights More...
 
SpotLights getSpotLights (void)
 getSpotLights More...
 

Static Public Member Functions

static LightManager * getSingletonPtr (void)
 getSingletonPtr More...
 

Detailed Description

The LightManager class.

Management of Lights

Member Function Documentation

Light * LightManager::createLight ( const string &  light_name)

createLight

Create a new Light with Name

Parameters
light_name
Returns
Light * LightManager::getLight ( const std::string &  light_name)

getLight

Return Light object by Name

Parameters
light_name
Returns
Lights LightManager::getLights ( void  )

getLights

Return a List of Lights

Returns
LightManager * LightManager::getSingletonPtr ( void  )
static

getSingletonPtr

Return LightManager Instance

Returns
SpotLights LightManager::getSpotLights ( void  )

getSpotLights

Returns
void LightManager::remove ( const string &  light_name)

remove

Remove Light object by Name

Parameters
light_name

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