|
arsa
2.7
|
A particle affector which attracts or detracts particles. More...
#include <IParticleAttractionAffector.h>
Public Member Functions | |
| virtual void | setPoint (const core::vector3df &point)=0 |
| Set the point that particles will attract to. More... | |
| virtual void | setSpeed (f32 speed)=0 |
| Set the speed, in game units per second that the particles will attract to the specified point. More... | |
| virtual void | setAttract (bool attract)=0 |
| Set whether or not the particles are attracting or detracting. More... | |
| virtual void | setAffectX (bool affect)=0 |
| Set whether or not this will affect particles in the X direction. More... | |
| virtual void | setAffectY (bool affect)=0 |
| Set whether or not this will affect particles in the Y direction. More... | |
| virtual void | setAffectZ (bool affect)=0 |
| Set whether or not this will affect particles in the Z direction. More... | |
| virtual const core::vector3df & | getPoint () const =0 |
| Get the point that particles are attracted to. More... | |
| virtual f32 | getSpeed () const =0 |
| Get the speed that points attract to the specified point. More... | |
| virtual bool | getAttract () const =0 |
| Get whether or not the particles are attracting or detracting. More... | |
| virtual bool | getAffectX () const =0 |
| Get whether or not the particles X position are affected. More... | |
| virtual bool | getAffectY () const =0 |
| Get whether or not the particles Y position are affected. More... | |
| virtual bool | getAffectZ () const =0 |
| Get whether or not the particles Z position are affected. More... | |
| virtual E_PARTICLE_AFFECTOR_TYPE | getType () const _IRR_OVERRIDE_ |
| Get emitter type. More... | |
Public Member Functions inherited from irr::scene::IParticleAffector | |
| IParticleAffector () | |
| constructor More... | |
| virtual void | affect (u32 now, SParticle *particlearray, u32 count)=0 |
| Affects an array of particles. More... | |
| virtual void | setEnabled (bool enabled) |
| Sets whether or not the affector is currently enabled. More... | |
| virtual bool | getEnabled () const |
| Gets whether or not the affector is currently enabled. More... | |
Public Member Functions inherited from irr::io::IAttributeExchangingObject | |
| virtual void | serializeAttributes (io::IAttributes *out, io::SAttributeReadWriteOptions *options=0) const |
| Writes attributes of the object. More... | |
| virtual void | deserializeAttributes (io::IAttributes *in, io::SAttributeReadWriteOptions *options=0) |
| Reads attributes of the object. 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 c8 * | getDebugName () 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... | |
Protected Attributes inherited from irr::scene::IParticleAffector | |
| bool | Enabled |
A particle affector which attracts or detracts particles.
Definition at line 16 of file IParticleAttractionAffector.h.
|
pure virtual |
Get whether or not the particles X position are affected.
|
pure virtual |
Get whether or not the particles Y position are affected.
|
pure virtual |
Get whether or not the particles Z position are affected.
|
pure virtual |
Get whether or not the particles are attracting or detracting.
|
pure virtual |
Get the point that particles are attracted to.
|
pure virtual |
Get the speed that points attract to the specified point.
|
inlinevirtual |
Get emitter type.
Implements irr::scene::IParticleAffector.
Definition at line 57 of file IParticleAttractionAffector.h.
|
pure virtual |
Set whether or not this will affect particles in the X direction.
|
pure virtual |
Set whether or not this will affect particles in the Y direction.
|
pure virtual |
Set whether or not this will affect particles in the Z direction.
|
pure virtual |
Set whether or not the particles are attracting or detracting.
|
pure virtual |
Set the point that particles will attract to.
Set the speed, in game units per second that the particles will attract to the specified point.
1.8.15