Home | History | Annotate | Download | only in effect

Lines Matching refs:Particle

61  * a particle system.
63 * Particle emitters can be used to simulate various kinds of phenomena,
66 * Particle emitters have many properties which are used to control the
84 private Particle[] particles;
162 // Reinitialize particle list
176 // Reinitialize particle mesh
187 throw new IllegalStateException("Unrecognized particle type: " + meshType);
227 throw new IllegalStateException("Unrecognized particle type: " + meshType);
249 * Set the {@link ParticleInfluencer} to influence this particle emitter.
252 * this particle emitter.
262 * particle emitter.
265 * particle emitter.
274 * Returns the mesh type used by the particle emitter.
277 * @return the mesh type used by the particle emitter.
287 * Sets the type of mesh used by the particle emitter.
302 throw new IllegalStateException("Unrecognized particle type: " + meshType);
321 * <p>If set to true and the particle emitter is moved in the scene,
353 particles = new Particle[numParticles];
355 particles[i] = new Particle();
379 public Particle[] getParticles() {
441 * Returns true if every particle spawned
444 * @return true if every particle spawned
454 * Set to true if every particle spawned
457 * @param randomAngle if every particle spawned
465 * Returns true if every particle spawned should get a random
468 * @return True if every particle spawned should get a random
478 * Set to true if every particle spawned
484 * particle is configured with multiple images by using {@link ParticleEmitter#setImagesX(int) }
486 particle to have an animation
488 * the particle reaches its end of life.
490 * @param selectRandomImage True if every particle spawned should get a random
536 * particle color at any time is determined by blending the start color
537 * and end color based on the particle's current time of life relative
561 * particle size at any time is determined by blending the start size
562 * and end size based on the particle's current time of life relative
618 * <p>The particle's lifetime/expiration
642 * how multiple particle images are selected and used, see the
666 * <p>To determine how multiple particle images are selected and used, see the
690 * <p>The particle's lifetime/expiration
737 * <p>The particle color at any time is determined by blending the start color
738 * and end color based on the particle's current time of life relative
761 * <p>The particle size at any time is determined by blending the start size
762 * and end size based on the particle's current time of life relative
780 * @param initialVelocity Set the initial velocity a particle is spawned with,
783 * A particle will move toward its velocity unless it is effected by the
811 * of the particle is determined. <code>variation</code> should be a value
825 private Particle emitParticle(Vector3f min, Vector3f max) {
831 Particle p = particles[idx];
910 * Kills the particle at the given index.
912 * @param index The index of the particle to kill
920 Particle p = particles[idx];
939 Particle p1 = particles[idx1];
944 private void updateParticle(Particle p, float tpf, Vector3f min, Vector3f max){
979 Particle p = particles[i];
980 if (p.life == 0) { // particle is dead
1007 Particle p = emitParticle(min, max);
1027 * Set to enable or disable the particle emitter
1029 * <p>When a particle is
1032 * @param enabled True to enable the particle emitter
1039 * Check if a particle emitter is enabled for update.
1041 * @return True if a particle emitter is enabled for update.
1168 throw new IllegalStateException("Unrecognized particle type: " + meshType);
1180 // compatibility before the control inside particle emitter