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

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

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

origin: jMonkeyEngine/jmonkeyengine

@Override
protected void controlUpdate(float tpf) {
  if (remove) {
    emitter.removeControl(this);
    return;
  }
  if (emitter.getNumVisibleParticles() == 0) {
    emitter.setCullHint(CullHint.Always);
    emitter.setEnabled(false);
    emitter.removeControl(this);
    stopRequested = false;
  }
}
origin: info.projectkyoto/mms-engine

@Override
protected void controlUpdate(float tpf) {
  if (remove) {
    emitter.removeControl(this);
    return;
  }
  if (emitter.getNumVisibleParticles() == 0) {
    emitter.setCullHint(CullHint.Always);
    emitter.setEnabled(false);
    emitter.removeControl(this);
    stopRequested = false;
  }
}
origin: org.jmonkeyengine/jme3-core

@Override
protected void controlUpdate(float tpf) {
  if (remove) {
    emitter.removeControl(this);
    return;
  }
  if (emitter.getNumVisibleParticles() == 0) {
    emitter.setCullHint(CullHint.Always);
    emitter.setEnabled(false);
    emitter.removeControl(this);
    stopRequested = false;
  }
}
origin: tonihele/OpenKeeper

Entry<EffectElement, Spatial> entry = iter.next();
if (entry.getValue() instanceof ParticleEmitter) {
  if (((ParticleEmitter)entry.getValue()).getNumVisibleParticles() == 0) {
com.jme3.effectParticleEmittergetNumVisibleParticles

Javadoc

Returns the number of visible particles (spawned but not dead).

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
  • 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
  • setLowLife
    Set the low value of life.The particle's lifetime/expiration is determined by randomly selecting a t
  • setHighLife,
  • setLowLife,
  • setMaterial,
  • setNumParticles,
  • setShadowMode,
  • setStartColor,
  • setStartSize,
  • addControl,
  • emitParticle

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (Timer)
  • putExtra (Intent)
  • findViewById (Activity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • JCheckBox (javax.swing)
  • JFileChooser (javax.swing)
  • Best plugins for Eclipse
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