HomeSort by relevance Sort by last modified time
    Searched refs:Particle (Results 1 - 11 of 11) sorted by null

  /external/jmonkeyengine/engine/src/core/com/jme3/effect/
ParticleComparator.java 39 class ParticleComparator implements Comparator<Particle> {
47 public int compare(Particle p1, Particle p2) {
Particle.java 39 * Represents a single particle in a {@link ParticleEmitter}.
43 public class Particle {
46 * Particle velocity.
51 * Current particle position
56 * Particle color
61 * Particle size or radius.
66 * Particle remaining life, in seconds.
71 * The initial particle life
76 * Particle rotation angle (in radians).
81 * Particle rotation angle speed (in radians)
    [all...]
ParticleMesh.java 42 * {@link ParticleEmitter particle emitter}.
49 * Type of particle mesh
53 * The particle mesh is composed of points. Each particle is a point.
60 * The particle mesh is composed of triangles. Each particle is
82 * Update the particle visual data. Typically called every frame.
84 public abstract void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation);
ParticleEmitter.java 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
    [all...]
ParticleTriMesh.java 55 private Particle[] particlesCopy;
63 particlesCopy = new Particle[numParticles];
152 public void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation) {
194 Particle p = particles[i];
ParticlePointMesh.java 115 public void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation) {
136 Particle p = particles[i];
  /external/jmonkeyengine/engine/src/core/com/jme3/effect/influencers/
ParticleInfluencer.java 3 import com.jme3.effect.Particle;
16 * This method influences the particle.
17 * @param particle
18 * particle to be influenced
22 void influenceParticle(Particle particle, EmitterShape emitterShape);
32 * Set the initial velocity a particle is spawned with,
35 * A particle will move toward its velocity unless it is effected by the
49 * of the particle is determined. <code>variation</code> should be a value
EmptyParticleInfluencer.java 3 import com.jme3.effect.Particle;
11 * This influencer does not influence particle at all.
26 public void influenceParticle(Particle particle, EmitterShape emitterShape) {
DefaultParticleInfluencer.java 3 import com.jme3.effect.Particle;
16 * This influencer is default for the particle emitter.
29 public void influenceParticle(Particle particle, EmitterShape emitterShape) {
30 emitterShape.getRandomPoint(particle.position);
31 this.applyVelocityVariation(particle);
35 * This method applies the variation to the particle with already set velocity.
36 * @param particle
37 * the particle to be affected
39 protected void applyVelocityVariation(Particle particle)
    [all...]
NewtonianParticleInfluencer.java 3 import com.jme3.effect.Particle;
34 public void influenceParticle(Particle particle, EmitterShape emitterShape) {
35 emitterShape.getRandomPointAndNormal(particle.position, particle.velocity);
36 // influencing the particle's velocity
38 particle.velocity.multLocal(normalVelocity);
41 temp.set(particle.velocity.z * surfaceTangentFactor, particle.velocity.y * surfaceTangentFactor, -particle.velocity.x * surfaceTangentFactor)
    [all...]
  /development/samples/AccelerometerPlay/src/com/example/android/accelerometerplay/
AccelerometerPlayActivity.java 41 * a very simple particle system comprised of a few iron balls freely moving on
141 * Each of our particle holds its previous and current position, its
142 * acceleration. for added realism each particle has its own friction
145 class Particle {
154 Particle() {
155 // make each particle a bit different by randomizing its
201 * constrained particle in such way that the constraint is
223 * A particle system is just a collection of particles
227 private Particle mBalls[] = new Particle[NUM_PARTICLES]
    [all...]

Completed in 428 milliseconds