Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members | Tutorials
Public Member Functions
irr::scene::IQ3LevelMesh Class Reference

Interface for a Mesh which can be loaded directly from a Quake3 .bsp-file. More...

#include <IQ3LevelMesh.h>

Inheritance diagram for irr::scene::IQ3LevelMesh:
irr::scene::IAnimatedMesh irr::scene::IMesh irr::IReferenceCounted

List of all members.

Public Member Functions

virtual quake3::tQ3EntityListgetEntityList ()=0
 get's an interface to the entities
virtual const quake3::IShadergetShader (const c8 *filename, bool fileNameIsValid=true)=0
 loads the shader definition from file
virtual const quake3::IShadergetShader (u32 index) const =0
 returns a already loaded Shader
- Public Member Functions inherited from irr::scene::IAnimatedMesh
virtual u32 getFrameCount () const =0
 Gets the frame count of the animated mesh.
virtual IMeshgetMesh (s32 frame, s32 detailLevel=255, s32 startFrameLoop=-1, s32 endFrameLoop=-1)=0
 Returns the IMesh interface for a frame.
virtual E_ANIMATED_MESH_TYPE getMeshType () const
 Returns the type of the animated mesh.
- Public Member Functions inherited from irr::scene::IMesh
virtual const core::aabbox3d
< f32 > & 
getBoundingBox () const =0
 Get an axis aligned bounding box of the mesh.
virtual IMeshBuffergetMeshBuffer (u32 nr) const =0
 Get pointer to a mesh buffer.
virtual IMeshBuffergetMeshBuffer (const video::SMaterial &material) const =0
 Get pointer to a mesh buffer which fits a material.
virtual u32 getMeshBufferCount () const =0
 Get the amount of mesh buffers.
virtual void setBoundingBox (const core::aabbox3df &box)=0
 Set user-defined axis aligned bounding box.
virtual void setDirty (E_BUFFER_TYPE buffer=EBT_VERTEX_AND_INDEX)=0
 Flag 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.
virtual void setMaterialFlag (video::E_MATERIAL_FLAG flag, bool newvalue)=0
 Sets a flag of all contained materials to a new value.
- Public Member Functions inherited from irr::IReferenceCounted
bool drop () const
 Drops the object. Decrements the reference counter by one.
const c8getDebugName () const
 Returns the debug name of the object.
s32 getReferenceCount () const
 Get the reference count.
void grab () const
 Grabs the object. Increments the reference counter by one.
 IReferenceCounted ()
 Constructor.
virtual ~IReferenceCounted ()
 Destructor.

Detailed Description

Interface for a Mesh which can be loaded directly from a Quake3 .bsp-file.

The Mesh tries to load all textures of the map. There are currently no additional methods in this class, but maybe there will be some in later releases if there are feature requests.

Definition at line 19 of file IQ3LevelMesh.h.


Member Function Documentation

virtual quake3::tQ3EntityList& irr::scene::IQ3LevelMesh::getEntityList ( )
pure virtual

get's an interface to the entities

virtual const quake3::IShader* irr::scene::IQ3LevelMesh::getShader ( const c8 filename,
bool  fileNameIsValid = true 
)
pure virtual

loads the shader definition from file

Parameters:
filenameName of the shaderfile, defaults to /scripts if fileNameIsValid is false.
fileNameIsValidSpecifies whether the filename is valid in the current situation.
virtual const quake3::IShader* irr::scene::IQ3LevelMesh::getShader ( u32  index) const
pure virtual

returns a already loaded Shader


The documentation for this class was generated from the following file:

The Irrlicht Engine
The Irrlicht Engine Documentation © 2003-2010 by Nikolaus Gebhardt. Generated on Tue Jun 5 2012 17:58:44 by Doxygen (1.8.1)