//-----------------------------------------------------------------------
	void ParticleEmitter::_initForExpiration(ParticleTechnique* technique, Real timeElapsed)
	{
		// The emitter itself is expired.
		Particle::_initForExpiration(technique, timeElapsed);

		// Expiring an emitter is similar as stopping one.
		_notifyStop();
	}
示例#2
0
	//-----------------------------------------------------------------------
	void ParticleAffector::_initForExpiration(ParticleTechnique* technique, Ogre::Real timeElapsed)
	{
		// The affector itself is expired.
		Particle::_initForExpiration(technique, timeElapsed);

		// Expiring an affector is similar as stopping one.
		_notifyStop();
	}