com.vwp.j3d.utils.geometry
Class LineParticles
java.lang.Object
Shape3D
com.vwp.j3d.utils.geometry.Particles
com.vwp.j3d.utils.geometry.LineParticles
public class LineParticles
- extends Particles
This class creates and controls a particle animated object which shows a
fountain effect using lines. It bases on source code by Dr. Andrew Davison
(http://fivedots.coe.psu.ac.th/~ad/jg)
|
Constructor Summary |
LineParticles(int flags,
float radius,
float height,
int nps,
int delay,
Appearance app)
Constructor for a LineParticle object |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LineParticles
public LineParticles(int flags,
float radius,
float height,
int nps,
int delay,
Appearance app)
- Constructor for a LineParticle object
- Parameters:
flags - specifies which Primitive-flags have to be used for the object
creationradius - specifies some kind of radius the particles have to be
calculated within; this value doesn't specifies an exact radius, it
depends on the heights valueheight - specifies some kind of height the particles have to be
calculated within; this value doesn't specifies an exact height, it
depends on the radius valuenps - the number of particles which have to be useddelay - specifies the delay in the calculation; the higher the delay
is the lower is the speed of the particlesapp - specifies an appearance for the object
getParticleBehavior
public Behavior getParticleBehavior()
- Returns an Behaviour object. This object has to be attached to a branch
group the generated particle object was attached too to let the particle
calculation start. Otherwise the Particle object doesn't works like
expected.
- Specified by:
getParticleBehavior in class Particles