Codota Logo
ParticleEmitter.freeParticle
Code IndexAdd Codota 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)

  • Common ways to obtain ParticleEmitter
private void myMethod () {
ParticleEmitter p =
  • Codota IconGeometry geometry;(ParticleEmitter) geometry.clone(cloneMaterial)
  • Codota IconInputCapsule inputCapsule;String str;(ParticleEmitter) inputCapsule.readSavable(str, null)
  • Smart code suggestions by Codota
}
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

  • Start an intent from android
  • getSystemService (Context)
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • Path (java.nio.file)
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • IsNull (org.hamcrest.core)
    Is the value null?
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now