arsa  2.7
Public Member Functions | List of all members
irr::scene::IQ3LevelMesh Class Referenceabstract

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

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from irr::IReferenceCounted
void setDebugName (const c8 *newName)
 Sets the debug name of the object. More...
 

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.

Definition at line 17 of file IQ3LevelMesh.h.

Member Function Documentation

◆ getBrushEntityMesh() [1/2]

virtual IMesh* irr::scene::IQ3LevelMesh::getBrushEntityMesh ( s32  num) const
pure virtual

returns the requested brush entity

Parameters
numThe number from the model key of the entity.

Use this interface if you parse the entities yourself.

◆ getBrushEntityMesh() [2/2]

virtual IMesh* irr::scene::IQ3LevelMesh::getBrushEntityMesh ( quake3::IEntity ent) const
pure virtual

returns the requested brush entity

◆ getEntityList()

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

get's an interface to the entities

◆ getShader() [1/2]

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.

◆ getShader() [2/2]

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: