Mondschein Engine
0.3.0
|
This class implements the base class for all scene nodes. More...
#include <scenenode.h>
Public Member Functions | |
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... | |
This class implements the base class for all scene nodes.
The Scenenode class is the base class for all scene nodes used in the Mondschein Engine. Any class inheriting from this interface can be used in any Mondschein Engine scene graph.
Definition at line 36 of file scenenode.h.
|
virtual |
Get the scenenode id.
This member function returns the current scenenode id.
Definition at line 69 of file scenenode.cpp.
|
virtual |
Get the renderable objects.
Definition at line 58 of file scenenode.cpp.
|
virtual |
Set the scenenode id.
_id | the scenenode id |
This member function sets the scenenode id to _id.
Definition at line 63 of file scenenode.cpp.
|
virtual |
Set the renderable objects.
_r | the renderable objects |
Definition at line 52 of file scenenode.cpp.