Mondschein Engine
0.3.0
|
This class is the mesh node interface. More...
#include <mesh.h>
Public Member Functions | |
virtual void | set_mesh_attribs (const mesh_attribs_t &_m) |
Set the mesh properties. More... | |
virtual mesh_attribs_t | get_mesh_attribs () const |
Get the mesh properties. More... | |
![]() | |
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 is the mesh node interface.
The Mesh interface describes an arbitrary mesh object that can be rendered by the Mondschein Engine.
A mesh object is a 3D structure made of vertices, normals, texture coordinates, and surfaces. A mesh can represent all geometrical objects from a simple triangle to a complex and sophisticated form, e.g. a human face.
The interface class is a derivation of the Scenegraph class and therefore is a scenegraph node.
Because the internal structure of a mesh varies from renderer to renderer every renderer implements its own derivation class of the Mesh interface.
|
virtual |
|
virtual |