5#ifndef NIRT_I_PARTICLE_MESH_EMITTER_HPP_INCLUDED
6#define NIRT_I_PARTICLE_MESH_EMITTER_HPP_INCLUDED
8#include <nirtcpp/core/engine/IParticleEmitter.hpp>
9#include <nirtcpp/core/engine/IMesh.hpp>
Class which holds the geometry of an object.
Definition IMesh.hpp:72
A particle emitter for using with particle systems.
Definition IParticleEmitter.hpp:46
A particle emitter which emits from vertices of a mesh.
Definition IParticleMeshEmitter.hpp:18
virtual f32 getNormalDirectionModifier() const =0
Get the amount that the normal is divided by for getting a particles direction.
virtual void setUseNormalDirection(bool useNormalDirection=true)=0
Set whether to use vertex normal for direction, or direction specified.
virtual E_PARTICLE_EMITTER_TYPE getType() const override
Get emitter type.
Definition IParticleMeshEmitter.hpp:46
virtual const IMesh * getMesh() const =0
Get Mesh we're emitting particles from.
virtual void setNormalDirectionModifier(f32 normalDirectionModifier)=0
Set the amount that the normal is divided by for getting a particles direction.
virtual void setEveryMeshVertex(bool everyMeshVertex=true)=0
Sets whether to emit min<->max particles for every vertex or to pick min<->max vertices.
virtual void setMesh(IMesh *mesh)=0
Set Mesh to emit particles from.
virtual bool getEveryMeshVertex() const =0
Gets whether to emit min<->max particles for every vertex or to pick min<->max vertices.
virtual bool isUsingNormalDirection() const =0
Get whether to use vertex normal for direction, or direction specified.
E_PARTICLE_EMITTER_TYPE
Types of built in particle emitters.
Definition IParticleEmitter.hpp:18
As of Nirtcpp 1.6, position2d is a synonym for vector2d.
Definition vector3d.hpp:11
float f32
32 bit floating point variable.
Definition irrTypes.hpp:110