#ifndef __I_GUI_MESH_VIEWER_H_INCLUDED__
#define __I_GUI_MESH_VIEWER_H_INCLUDED__
#include "IGUIElement.h"
namespace irr
{
namespace video
{
class SMaterial;
}
namespace scene
{
class IAnimatedMesh;
}
namespace gui
{
class IGUIMeshViewer : public IGUIElement
{
public:
IGUIMeshViewer(IGUIEnvironment* environment, IGUIElement* parent, s32 id, core::rect<s32> rectangle)
: IGUIElement(EGUIET_MESH_VIEWER, environment, parent, id, rectangle) {}
virtual void setMesh(scene::IAnimatedMesh* mesh) = 0;
virtual scene::IAnimatedMesh* getMesh() const = 0;
virtual void setMaterial(const video::SMaterial& material) = 0;
virtual const video::SMaterial& getMaterial() const = 0;
};
}
}
#endif