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 scene::IAnimatedMesh * getMesh() const =0
Gets the displayed mesh.
IGUIMeshViewer(IGUIEnvironment *environment, IGUIElement *parent, i32 id, nub::rect< i32 > rectangle)
constructor
Definition IGUIMeshViewer.hpp:32
virtual void setMesh(scene::IAnimatedMesh *mesh)=0
Sets the mesh to be shown.
virtual const video::SMaterial & getMaterial() const =0
Gets the material.
virtual void setMaterial(const video::SMaterial &material)=0
Sets the material.
Axis aligned bounding box in 3d dimensional space.
Definition aabbox3d.hpp:22
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 vector3d.hpp:11
signed int i32
32 bit signed variable.
Definition irrTypes.hpp:72