|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectj3d.examples.particles.influences.Slow
public class Slow
An influence to slow a particle by deceleration. The default deceleration is 5 meters per second per second.
| Constructor Summary | |
|---|---|
Slow()
|
|
Slow(float aRate)
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Slow()
public Slow(float aRate)
| Method Detail |
|---|
public void initializeParticle(Particle aParticle)
ExternalInfluenceInterface
initializeParticle in interface ExternalInfluenceInterfaceaParticle - - the particle to initialize.
public void apply(Particle aParticle,
float dt)
ExternalInfluenceInterface
apply in interface ExternalInfluenceInterfaceaParticle - - The particle to updatedt - - The time interval (in seconds) since the last apply
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||