| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials |
#include <IMesh.h>

Public Member Functions | |
| virtual const core::aabbox3d < f32 > & | getBoundingBox () const =0 |
| Returns an axis aligned bounding box of the mesh. | |
| virtual IMeshBuffer * | getMeshBuffer (const video::SMaterial &material) const =0 |
| Returns pointer to a mesh buffer which fits a material. | |
| virtual IMeshBuffer * | getMeshBuffer (u32 nr) const =0 |
| Returns pointer to a mesh buffer. | |
| virtual u32 | getMeshBufferCount () const =0 |
| Returns the amount of mesh buffers. | |
| virtual void | setBoundingBox (const core::aabbox3df &box)=0 |
| set user axis aligned bounding box | |
| virtual void | setDirty (E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)=0 |
| flags the meshbuffer as changed, reloads hardware buffers | |
| virtual void | setHardwareMappingHint (E_HARDWARE_MAPPING newMappingHint, E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)=0 |
| set the hardware mapping hint, for driver | |
| virtual void | setMaterialFlag (video::E_MATERIAL_FLAG flag, bool newvalue)=0 |
| Sets a flag of all contained materials to a new value. | |
An IMesh is nothing more than a collection of some mesh buffers (IMeshBuffer). SMesh is a simple implementation of an IMesh.
Definition at line 22 of file IMesh.h.
| virtual const core::aabbox3d<f32>& irr::scene::IMesh::getBoundingBox | ( | ) | const [pure virtual] |
Returns an axis aligned bounding box of the mesh.
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| virtual IMeshBuffer* irr::scene::IMesh::getMeshBuffer | ( | const video::SMaterial & | material | ) | const [pure virtual] |
Returns pointer to a mesh buffer which fits a material.
| material,: | material to search for |
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| virtual IMeshBuffer* irr::scene::IMesh::getMeshBuffer | ( | u32 | nr | ) | const [pure virtual] |
Returns pointer to a mesh buffer.
| nr,: | Zero based index of the mesh buffer. The maximum value is getMeshBufferCount() - 1; |
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| virtual u32 irr::scene::IMesh::getMeshBufferCount | ( | ) | const [pure virtual] |
Returns the amount of mesh buffers.
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| virtual void irr::scene::IMesh::setBoundingBox | ( | const core::aabbox3df & | box | ) | [pure virtual] |
set user axis aligned bounding box
| box | New bounding box to use for the mesh. |
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| virtual void irr::scene::IMesh::setDirty | ( | E_BUFFER_TYPE | buffer = EBT_VERTEX_AND_INDEX |
) | [pure virtual] |
flags the meshbuffer as changed, reloads hardware buffers
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| virtual void irr::scene::IMesh::setHardwareMappingHint | ( | E_HARDWARE_MAPPING | newMappingHint, | |
| E_BUFFER_TYPE | buffer = EBT_VERTEX_AND_INDEX | |||
| ) | [pure virtual] |
set the hardware mapping hint, for driver
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| virtual void irr::scene::IMesh::setMaterialFlag | ( | video::E_MATERIAL_FLAG | flag, | |
| bool | newvalue | |||
| ) | [pure virtual] |
Sets a flag of all contained materials to a new value.
| flag,: | Flag to set in all materials. | |
| newvalue,: | New value to set in all materials. |
Implemented in irr::scene::SAnimatedMesh, and irr::scene::SMesh.
| The Irrlicht
Engine Documentation © 2003-2008 by Nikolaus Gebhardt. Generated
on Sun Dec 14 08:04:53 2008 by Doxygen
(1.5.6) |