#include <CCPULineAffector.h>
Public Member Functions | |
| virtual void | notifyRescaled (const Vec3 &scale) override |
| local | notifyRescaled ( local scale) |
| virtual void | preUpdateAffector (float deltaTime) override |
| local | preUpdateAffector ( local deltaTime) |
| virtual void | updatePUAffector (PUParticle3D *particle, float deltaTime) override |
| local | updatePUAffector ( local particle, local deltaTime) |
| virtual void | postUpdateAffector (float deltaTime) override |
| virtual void | firstParticleUpdate (PUParticle3D *particle, float deltaTime) override |
| var | firstParticleUpdate ( var particle, var deltaTime) |
| local | firstParticleUpdate ( local particle, local deltaTime) |
| float | getMaxDeviation (void) const |
| void | setMaxDeviation (float maxDeviation) |
| const Vec3 & | getEnd (void) const |
| var | getEnd () |
| local | getEnd () |
| void | setEnd (const Vec3 &end) |
| float | getTimeStep (void) const |
| void | setTimeStep (float timeStep) |
| float | getDrift (void) const |
| void | setDrift (float drift) |
| virtual void | copyAttributesTo (PUAffector *affector) override |
| local | copyAttributesTo ( local affector) |
| virtual | ~PULineAffector (void) |
Public Member Functions inherited from PUAffector | |
| virtual void | notifyStart () |
| virtual void | notifyStop () |
| virtual void | notifyPause () |
| virtual void | notifyResume () |
| virtual void | prepare () |
| virtual void | unPrepare () |
| virtual void | initParticleForEmission (PUParticle3D *particle) |
| var | initParticleForEmission ( var particle) |
| local | initParticleForEmission ( local particle) |
| void | process (PUParticle3D *particle, float delta, bool firstParticle) |
| void | setLocalPosition (const Vec3 &pos) |
| const Vec3 | getLocalPosition () const |
| void | setMass (float mass) |
| float | getMass () const |
| const Vec3 & | getDerivedPosition () |
| Calculate the derived position of the affector. More... | |
| local | getDerivedPosition () |
| Calculate the derived position of the affector. More... | |
| const AffectSpecialisation & | getAffectSpecialisation (void) const |
| Todo. More... | |
| local | getAffectSpecialisation () |
| Todo. More... | |
| void | setAffectSpecialisation (const AffectSpecialisation &affectSpecialisation) |
| const std::string & | getAffectorType (void) const |
| Todo. More... | |
| void | setAffectorType (const std::string &affectorType) |
| void | addEmitterToExclude (const std::string &emitterName) |
| Add a ParticleEmitter name that excludes Particles emitted by this ParticleEmitter from being affected. More... | |
| void | removeEmitterToExclude (const std::string &emitterName) |
| Remove a ParticleEmitter name that excludes Particles emitted by this ParticleEmitter. More... | |
| const std::string & | getName (void) const |
| Todo. More... | |
| void | setName (const std::string &name) |
| virtual | ~PUAffector () |
Public Member Functions inherited from Particle3DAffector | |
| virtual void | updateAffector (Particle3D *particle, float deltaTime) |
| void | setEnabled (bool enabled) |
| Enables or disables the emitter. More... | |
| bool | isEnabled (void) const |
| virtual | ~Particle3DAffector () |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
| Destructor. More... | |
Static Public Member Functions | |
| static PULineAffector * | create () |
| local | create () |
Public Attributes | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: PULineAffector(void) |
Public Attributes inherited from PUAffector | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: PUAffector() |
Public Attributes inherited from Particle3DAffector | |
| CC_CONSTRUCTOR_ACCESS | __pad0__: Particle3DAffector() |
Static Public Attributes | |
| static const float | DEFAULT_MAX_DEVIATION |
| static const float | DEFAULT_TIME_STEP |
| static const Vec3 | DEFAULT_END |
| static const float | DEFAULT_DRIFT |
| var | DEFAULT_DRIFT |
| local | DEFAULT_DRIFT |
Protected Attributes | |
| float | _maxDeviation |
| float | _scaledMaxDeviation |
| Vec3 | _end |
| float | _timeSinceLastUpdate |
| var | _timeSinceLastUpdate |
| local | _timeSinceLastUpdate |
| float | _timeStep |
| float | _drift |
| float | _oneMinusDrift |
| bool | _update |
| bool | _first |
Protected Attributes inherited from PUAffector | |
| Vec3 | _position |
| Vec3 | _affectorScale |
| Although the scale is on a Particle System level, the affector can also be scaled. More... | |
| Vec3 | _derivedPosition |
| Because the public attribute ´position?is sometimes used for both localspace and worldspace position, the mDerivedPosition attribute is introduced. More... | |
| AffectSpecialisation | _affectSpecialisation |
| The mAffectSpecialisation is used to specialise the affector. More... | |
| std::string | _affectorType |
| std::vector< std::string > | _excludedEmitters |
| var | _excludedEmitters |
| local | _excludedEmitters |
| std::string | _name |
| float | _mass |
Protected Attributes inherited from Particle3DAffector | |
| ParticleSystem3D * | _particleSystem |
| bool | _isEnabled |
Protected Attributes inherited from Ref | |
| unsigned int | _referenceCount |
| count of references More... | |
| local | _referenceCount |
| count of references More... | |
Additional Inherited Members | |
Public Types inherited from PUAffector | |
| enum | AffectSpecialisation { AFSP_DEFAULT, AFSP_TTL_INCREASE, AFSP_TTL_DECREASE } |
| The AffectSpecialisation enumeration is used to specialise the affector even more. More... | |
Protected Member Functions inherited from PUAffector | |
| float | calculateAffectSpecialisationFactor (const PUParticle3D *particle) |
| var | calculateAffectSpecialisationFactor ( var particle) |
| local | calculateAffectSpecialisationFactor ( local particle) |
Protected Member Functions inherited from Ref | |
| Ref () | |
| Constructor. More... | |
| Ref () | |
| Constructor. More... | |
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
static |
|
static |
|
static |
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
| float getDrift | ( | void | ) | const |
| var getDrift | ( | ) |
| local getDrift | ( | ) |
| const Vec3& getEnd | ( | void | ) | const |
| var getEnd | ( | ) |
| local getEnd | ( | ) |
| float getMaxDeviation | ( | void | ) | const |
| var getMaxDeviation | ( | ) |
| local getMaxDeviation | ( | ) |
| float getTimeStep | ( | void | ) | const |
| var getTimeStep | ( | ) |
| local getTimeStep | ( | ) |
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
| void setDrift | ( | float | drift | ) |
| var setDrift | ( | var | drift | ) |
| local setDrift | ( | local | drift | ) |
| void setEnd | ( | const Vec3 & | end | ) |
| var setEnd | ( | var | end | ) |
| local setEnd | ( | local | end | ) |
| void setMaxDeviation | ( | float | maxDeviation | ) |
| var setMaxDeviation | ( | var | maxDeviation | ) |
| local setMaxDeviation | ( | local | maxDeviation | ) |
| void setTimeStep | ( | float | timeStep | ) |
| var setTimeStep | ( | var | timeStep | ) |
| local setTimeStep | ( | local | timeStep | ) |
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
|
overridevirtual |
Reimplemented from PUAffector.
| CC_CONSTRUCTOR_ACCESS __pad0__ |
| var __pad0__ |
| local __pad0__ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |