arsa  2.7
Public Member Functions | List of all members
irr::scene::IParticleAttractionAffector Class Referenceabstract

A particle affector which attracts or detracts particles. More...

#include <IParticleAttractionAffector.h>

Inheritance diagram for irr::scene::IParticleAttractionAffector:
irr::scene::IParticleAffector irr::io::IAttributeExchangingObject irr::IReferenceCounted

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::vector3dfgetPoint () 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 c8getDebugName () 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
 

Detailed Description

A particle affector which attracts or detracts particles.

Definition at line 16 of file IParticleAttractionAffector.h.

Member Function Documentation

◆ getAffectX()

virtual bool irr::scene::IParticleAttractionAffector::getAffectX ( ) const
pure virtual

Get whether or not the particles X position are affected.

◆ getAffectY()

virtual bool irr::scene::IParticleAttractionAffector::getAffectY ( ) const
pure virtual

Get whether or not the particles Y position are affected.

◆ getAffectZ()

virtual bool irr::scene::IParticleAttractionAffector::getAffectZ ( ) const
pure virtual

Get whether or not the particles Z position are affected.

◆ getAttract()

virtual bool irr::scene::IParticleAttractionAffector::getAttract ( ) const
pure virtual

Get whether or not the particles are attracting or detracting.

◆ getPoint()

virtual const core::vector3df& irr::scene::IParticleAttractionAffector::getPoint ( ) const
pure virtual

Get the point that particles are attracted to.

◆ getSpeed()

virtual f32 irr::scene::IParticleAttractionAffector::getSpeed ( ) const
pure virtual

Get the speed that points attract to the specified point.

◆ getType()

virtual E_PARTICLE_AFFECTOR_TYPE irr::scene::IParticleAttractionAffector::getType ( ) const
inlinevirtual

Get emitter type.

Implements irr::scene::IParticleAffector.

Definition at line 57 of file IParticleAttractionAffector.h.

◆ setAffectX()

virtual void irr::scene::IParticleAttractionAffector::setAffectX ( bool  affect)
pure virtual

Set whether or not this will affect particles in the X direction.

◆ setAffectY()

virtual void irr::scene::IParticleAttractionAffector::setAffectY ( bool  affect)
pure virtual

Set whether or not this will affect particles in the Y direction.

◆ setAffectZ()

virtual void irr::scene::IParticleAttractionAffector::setAffectZ ( bool  affect)
pure virtual

Set whether or not this will affect particles in the Z direction.

◆ setAttract()

virtual void irr::scene::IParticleAttractionAffector::setAttract ( bool  attract)
pure virtual

Set whether or not the particles are attracting or detracting.

◆ setPoint()

virtual void irr::scene::IParticleAttractionAffector::setPoint ( const core::vector3df point)
pure virtual

Set the point that particles will attract to.

◆ setSpeed()

virtual void irr::scene::IParticleAttractionAffector::setSpeed ( f32  speed)
pure virtual

Set the speed, in game units per second that the particles will attract to the specified point.


The documentation for this class was generated from the following file: