arsa  2.7
IParticleAnimatedMeshSceneNodeEmitter.h
Go to the documentation of this file.
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt
2 // This file is part of the "Irrlicht Engine".
3 // For conditions of distribution and use, see copyright notice in irrlicht.h
4 
5 #ifndef __I_PARTICLE_ANIMATED_MESH_SCENE_NODE_EMITTER_H_INCLUDED__
6 #define __I_PARTICLE_ANIMATED_MESH_SCENE_NODE_EMITTER_H_INCLUDED__
7 
8 #include "IParticleEmitter.h"
10 
11 namespace irr
12 {
13 namespace scene
14 {
15 
18 {
19 public:
20 
22  virtual void setAnimatedMeshSceneNode( IAnimatedMeshSceneNode* node ) = 0;
23 
25  virtual void setUseNormalDirection( bool useNormalDirection = true ) = 0;
26 
28  virtual void setNormalDirectionModifier( f32 normalDirectionModifier ) = 0;
29 
31  virtual void setEveryMeshVertex( bool everyMeshVertex = true ) = 0;
32 
34  virtual const IAnimatedMeshSceneNode* getAnimatedMeshSceneNode() const = 0;
35 
37  virtual bool isUsingNormalDirection() const = 0;
38 
40  virtual f32 getNormalDirectionModifier() const = 0;
41 
43  virtual bool getEveryMeshVertex() const = 0;
44 
47 };
48 
49 } // end namespace scene
50 } // end namespace irr
51 
52 
53 #endif // __I_PARTICLE_ANIMATED_MESH_SCENE_NODE_EMITTER_H_INCLUDED__
54 
virtual bool getEveryMeshVertex() const =0
Gets whether to emit min<->max particles for every vertex or to pick min<->max vertices.
float f32
32 bit floating point variable.
Definition: irrTypes.h:108
virtual void setAnimatedMeshSceneNode(IAnimatedMeshSceneNode *node)=0
Set Mesh to emit particles from.
virtual void setUseNormalDirection(bool useNormalDirection=true)=0
Set whether to use vertex normal for direction, or direction specified.
Everything in the Irrlicht Engine can be found in this namespace.
Definition: CARSADPad.h:6
A particle emitter which emits particles from mesh vertices.
virtual f32 getNormalDirectionModifier() const =0
Get the amount that the normal is divided by for getting a particles direction.
virtual bool isUsingNormalDirection() const =0
Get whether to use vertex normal for direction, or direction specified.
virtual E_PARTICLE_EMITTER_TYPE getType() const _IRR_OVERRIDE_
Get emitter type.
virtual void setNormalDirectionModifier(f32 normalDirectionModifier)=0
Set the amount that the normal is divided by for getting a particles direction.
E_PARTICLE_EMITTER_TYPE
Types of built in particle emitters.
Scene node capable of displaying an animated mesh.
virtual const IAnimatedMeshSceneNode * getAnimatedMeshSceneNode() const =0
Get mesh we're emitting particles from.
virtual void setEveryMeshVertex(bool everyMeshVertex=true)=0
Sets whether to emit min<->max particles for every vertex or to pick min<->max vertices.
A particle emitter for using with particle systems.
#define _IRR_OVERRIDE_
Defines an override macro, to protect virtual functions from typos and other mismatches.
Definition: irrTypes.h:216
#define const
Definition: zconf.h:217