j3d.examples.particles.influences
Interface ExternalInfluenceInterface
- All Known Implementing Classes:
- Attract, Bounce, BounceShape, BoundedScale, DebugShape, EmitShapeLight, FadePoint, FadeShape, Gravity, Kill, Repulse, Scale, Slow, Vortex
public interface ExternalInfluenceInterface
Method Summary |
void |
apply(Particle aParticle,
float dt)
Apply this (possibly time varying) influence
to the particle for the time interval. |
void |
initializeParticle(Particle aParticle)
Initialize a particle prior to the first emission. |
initializeParticle
void initializeParticle(Particle aParticle)
- Initialize a particle prior to the first emission.
- Parameters:
aParticle
- - the particle to initialize.
apply
void apply(Particle aParticle,
float dt)
- Apply this (possibly time varying) influence
to the particle for the time interval.
- Parameters:
aParticle
- - The particle to updatedt
- - The time interval (in seconds) since the last apply