Loading...
Searching...
No Matches
IParticleMeshEmitter.h
Go to the documentation of this file.
// Copyright (C) 2002-2012 Nikolaus Gebhardt
// This file is part of the "Irrlicht Engine".
// For conditions of distribution and use, see copyright notice in irrlicht.h
#ifndef __I_PARTICLE_MESH_EMITTER_H_INCLUDED__
#define __I_PARTICLE_MESH_EMITTER_H_INCLUDED__
#include "IParticleEmitter.h"
#include "IMesh.h"
namespace irr
{
namespace scene
{
class IParticleMeshEmitter : public IParticleEmitter
{
public:
virtual void setMesh( IMesh* mesh ) = 0;
virtual void setUseNormalDirection( bool useNormalDirection = true ) = 0;
virtual void setNormalDirectionModifier( f32 normalDirectionModifier ) = 0;
virtual void setEveryMeshVertex( bool everyMeshVertex = true ) = 0;
virtual const IMesh* getMesh() const = 0;
virtual bool isUsingNormalDirection() const = 0;
virtual f32 getNormalDirectionModifier() const = 0;
virtual bool getEveryMeshVertex() const = 0;
virtual E_PARTICLE_EMITTER_TYPE getType() const { return EPET_MESH; }
};
} // end namespace scene
} // end namespace irr
#endif
IMesh.h
IParticleEmitter.h
irr::scene::IMesh
Class which holds the geometry of an object.
Definition IMesh.h:24
irr::scene::IParticleEmitter
A particle emitter for using with particle systems.
Definition IParticleEmitter.h:46
irr::scene::IParticleMeshEmitter
A particle emitter which emits from vertices of a mesh.
Definition IParticleMeshEmitter.h:18
irr::scene::IParticleMeshEmitter::setEveryMeshVertex
virtual void setEveryMeshVertex(bool everyMeshVertex=true)=0
Sets whether to emit min<->max particles for every vertex or to pick min<->max vertices.
irr::scene::IParticleMeshEmitter::isUsingNormalDirection
virtual bool isUsingNormalDirection() const =0
Get whether to use vertex normal for direction, or direction specified.
irr::scene::IParticleMeshEmitter::getEveryMeshVertex
virtual bool getEveryMeshVertex() const =0
Gets whether to emit min<->max particles for every vertex or to pick min<->max vertices.
irr::scene::IParticleMeshEmitter::setUseNormalDirection
virtual void setUseNormalDirection(bool useNormalDirection=true)=0
Set whether to use vertex normal for direction, or direction specified.
irr::scene::IParticleMeshEmitter::getType
virtual E_PARTICLE_EMITTER_TYPE getType() const
Get emitter type.
Definition IParticleMeshEmitter.h:46
irr::scene::IParticleMeshEmitter::getMesh
virtual const IMesh * getMesh() const =0
Get Mesh we're emitting particles from.
irr::scene::IParticleMeshEmitter::getNormalDirectionModifier
virtual f32 getNormalDirectionModifier() const =0
Get the amount that the normal is divided by for getting a particles direction.
irr::scene::IParticleMeshEmitter::setMesh
virtual void setMesh(IMesh *mesh)=0
Set Mesh to emit particles from.
irr::scene::IParticleMeshEmitter::setNormalDirectionModifier
virtual void setNormalDirectionModifier(f32 normalDirectionModifier)=0
Set the amount that the normal is divided by for getting a particles direction.
irr::scene
All scene management can be found in this namespace: Mesh loading, special scene nodes like octrees a...
Definition CDynamicMeshBuffer.h:16
irr::scene::E_PARTICLE_EMITTER_TYPE
E_PARTICLE_EMITTER_TYPE
Types of built in particle emitters.
Definition IParticleEmitter.h:18
irr::scene::EPET_MESH
@ EPET_MESH
Definition IParticleEmitter.h:23
irr
Everything in the Irrlicht Engine can be found in this namespace.
Definition aabbox3d.h:13
irr::f32
float f32
32 bit floating point variable.
Definition irrTypes.h:104
- Irrlicht Engine Documentation © 2003-2012 by Nikolaus Gebhardt. Generated on for Irrlicht 3D Engine by Doxygen 1.15.0