Tabnine Logo
ParticleEmitter.freeParticle
Code IndexAdd Tabnine to your IDE (free)

How to use
freeParticle
method
in
com.jme3.effect.ParticleEmitter

Best Java code snippets using com.jme3.effect.ParticleEmitter.freeParticle (Showing top 9 results out of 315)

origin: jMonkeyEngine/jmonkeyengine

/**
 * Instantly kills all active particles, after this method is called, all
 * particles will be dead and no longer visible.
 */
public void killAllParticles() {
  for (int i = 0; i < particles.length; ++i) {
    if (particles[i].life > 0) {
      this.freeParticle(i);
    }
  }
}
origin: jMonkeyEngine/jmonkeyengine

/**
 * Kills the particle at the given index.
 *
 * @param index The index of the particle to kill
 * @see #getParticles()
 */
public void killParticle(int index){
  freeParticle(index);
}
origin: jMonkeyEngine/jmonkeyengine

this.freeParticle(i);
continue;
  freeParticle(lastUsed);
}else{
  updateParticle(p, tpf, min, max);
origin: info.projectkyoto/mms-engine

/**
 * Instantly kills all active particles, after this method is called, all
 * particles will be dead and no longer visible.
 */
public void killAllParticles() {
  for (int i = 0; i < particles.length; ++i) {
    if (particles[i].life > 0) {
      this.freeParticle(i);
    }
  }
}

origin: info.projectkyoto/mms-engine

/**
 * Kills the particle at the given index.
 * 
 * @param index The index of the particle to kill
 * @see #getParticles() 
 */
public void killParticle(int index){
  freeParticle(index);
}
origin: org.jmonkeyengine/jme3-core

/**
 * Instantly kills all active particles, after this method is called, all
 * particles will be dead and no longer visible.
 */
public void killAllParticles() {
  for (int i = 0; i < particles.length; ++i) {
    if (particles[i].life > 0) {
      this.freeParticle(i);
    }
  }
}
origin: org.jmonkeyengine/jme3-core

/**
 * Kills the particle at the given index.
 *
 * @param index The index of the particle to kill
 * @see #getParticles()
 */
public void killParticle(int index){
  freeParticle(index);
}
origin: info.projectkyoto/mms-engine

this.freeParticle(i);
continue;
p.life -= tpf;
if (p.life <= 0){
  freeParticle(lastUsed);
}else{
  updateParticle(p, tpf, min, max);
origin: org.jmonkeyengine/jme3-core

this.freeParticle(i);
continue;
  freeParticle(lastUsed);
}else{
  updateParticle(p, tpf, min, max);
com.jme3.effectParticleEmitterfreeParticle

Popular methods of ParticleEmitter

  • emitAllParticles
    Instantly emits all the particles possible to be emitted. Any particles which are currently inactive
  • getName
  • setQueueBucket
  • getMaterial
  • setParticlesPerSec
    Set the number of particles to spawn per second.
  • <init>
  • clone
  • getNumVisibleParticles
    Returns the number of visible particles (spawned but not dead).
  • setEndColor
    Set the end color of the particles spawned.The particle color at any time is determined by blending
  • setEndSize
    Set the end size of the particles spawned.The particle size at any time is determined by blending th
  • setGravity
    This method sets the gravity vector.
  • setHighLife
    Set the high value of life.The particle's lifetime/expiration is determined by randomly selecting a
  • setGravity,
  • setHighLife,
  • setLowLife,
  • setMaterial,
  • setNumParticles,
  • setShadowMode,
  • setStartColor,
  • setStartSize,
  • addControl,
  • emitParticle

Popular in Java

  • Parsing JSON documents to java classes using gson
  • setContentView (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Path (java.nio.file)
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now