5#ifndef DCPP_I_GUI_MESH_VIEWER_HPP_INCLUDED
6#define DCPP_I_GUI_MESH_VIEWER_HPP_INCLUDED
8#include <duckcpp/core/engine/IGUIElement.hpp>
Base class of all GUI elements.
Definition IGUIElement.hpp:24
GUI Environment. Used as factory and manager of all other GUI elements.
Definition IGUIEnvironment.hpp:73
3d mesh viewing GUI element.
Definition IGUIMeshViewer.hpp:28
virtual void setMesh(dcpp::scene::IAnimatedMesh *mesh)=0
Sets the mesh to be shown.
IGUIMeshViewer(IGUIEnvironment *environment, IGUIElement *parent, dcpp::int32_kt id, dcpp::nub::recti rectangle)
constructor
Definition IGUIMeshViewer.hpp:32
virtual void setMaterial(const dcpp::video::SMaterial &material)=0
Sets the material.
virtual const dcpp::video::SMaterial & getMaterial() const =0
Gets the material.
virtual dcpp::scene::IAnimatedMesh * getMesh() const =0
Gets the displayed mesh.
Rectangle template.
Definition rect.hpp:27
Interface for an animated mesh.
Definition IAnimatedMesh.hpp:21
Class for holding parameters for a material renderer.
Definition SMaterial.hpp:304
@ EGUIET_MESH_VIEWER
A mesh viewer (IGUIMeshViewer)
Definition EGUIElementTypes.hpp:53
As of Duckcpp 1.6, position2d is a synonym for vector2d.
Definition shared_device.hpp:34
signed int int32_kt
32 bit signed variable.
Definition irrTypes.hpp:72