5 #ifndef __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__ 6 #define __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__ 64 #endif // __I_PARTICLE_ATTRACTION_AFFECTOR_H_INCLUDED__ virtual bool getAffectY() const =0
Get whether or not the particles Y position are affected.
A particle affector which attracts or detracts particles.
virtual bool getAttract() const =0
Get whether or not the particles are attracting or detracting.
float f32
32 bit floating point variable.
E_PARTICLE_AFFECTOR_TYPE
Types of built in particle affectors.
virtual void setAffectX(bool affect)=0
Set whether or not this will affect particles in the X direction.
virtual bool getAffectZ() const =0
Get whether or not the particles Z position are affected.
Everything in the Irrlicht Engine can be found in this namespace.
virtual void setAffectZ(bool affect)=0
Set whether or not this will affect particles in the Z direction.
A particle affector modifies particles.
virtual void affect(u32 now, SParticle *particlearray, u32 count)=0
Affects an array of particles.
virtual void setAffectY(bool affect)=0
Set whether or not this will affect particles in the Y direction.
virtual bool getAffectX() const =0
Get whether or not the particles X position are affected.
virtual f32 getSpeed() const =0
Get the speed that points attract to the specified point.
virtual void setSpeed(f32 speed)=0
Set the speed, in game units per second that the particles will attract to the specified point.
#define _IRR_OVERRIDE_
Defines an override macro, to protect virtual functions from typos and other mismatches.
virtual void setPoint(const core::vector3df &point)=0
Set the point that particles will attract to.
virtual void setAttract(bool attract)=0
Set whether or not the particles are attracting or detracting.
virtual E_PARTICLE_AFFECTOR_TYPE getType() const _IRR_OVERRIDE_
Get emitter type.
virtual const core::vector3df & getPoint() const =0
Get the point that particles are attracted to.