Mondschein Engine  0.3.0
Public Member Functions | List of all members
mondschein::scene::Light Class Reference

This class implements light scenegraph nodes. More...

#include <light.h>

Inheritance diagram for mondschein::scene::Light:
mondschein::scene::Scenenode

Public Member Functions

virtual void set_light_attribs (const light_attribs_t &_light)
 Set the light properties. More...
 
virtual light_attribs_t get_light_attribs () const
 Get the light properties. More...
 
- Public Member Functions inherited from mondschein::scene::Scenenode
virtual void set_renderables (const std::map< std::string, renderer::Renderable_c > &_r)
 Set the renderable objects. More...
 
virtual std::map< std::string,
renderer::Renderable_c > 
get_renderables () const
 Get the renderable objects. More...
 
virtual void set_id (const std::string &_id)
 Set the scenenode id. More...
 
virtual std::string get_id () const
 Get the scenenode id. More...
 

Detailed Description

This class implements light scenegraph nodes.

The Light class implements generic lights used by the mondschein engine.

Definition at line 37 of file light.h.

Member Function Documentation

light_attribs_t Light::get_light_attribs ( ) const
virtual

Get the light properties.

Returns
the light properties of *this

Definition at line 59 of file light.cpp.

void Light::set_light_attribs ( const light_attribs_t _light)
virtual

Set the light properties.

Parameters
_lthe light properties

Definition at line 53 of file light.cpp.


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