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

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

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

origin: jMonkeyEngine/jmonkeyengine

@Override
public ParticleEmitter clone() {
  return clone(true);
}
origin: jMonkeyEngine/jmonkeyengine

ParticleEmitter emitter = particleEmitter.clone();
origin: jMonkeyEngine/jmonkeyengine

@Override
public void simpleInitApp() {
  ParticleEmitter emit = new ParticleEmitter("Emitter", Type.Triangle, 200);
  emit.setShape(new EmitterSphereShape(Vector3f.ZERO, 1f));
  emit.setGravity(0, 0, 0);
  emit.setLowLife(5);
  emit.setHighLife(10);
  emit.getParticleInfluencer().setInitialVelocity(new Vector3f(0, 0, 0));
  emit.setImagesX(15);
  Material mat = new Material(assetManager, "Common/MatDefs/Misc/Particle.j3md");
  mat.setTexture("Texture", assetManager.loadTexture("Effects/Smoke/Smoke.png"));
  emit.setMaterial(mat);
  ParticleEmitter emit2 = emit.clone();
  emit2.move(3, 0, 0);
  
  rootNode.attachChild(emit);
  rootNode.attachChild(emit2);
  
  ParticleEmitter emit3 = BinaryExporter.saveAndLoad(assetManager, emit);
  emit3.move(-3, 0, 0);
  rootNode.attachChild(emit3);
}
origin: info.projectkyoto/mms-engine

@Override
public ParticleEmitter clone() {
  return clone(true);
}
origin: org.jmonkeyengine/jme3-core

@Override
public ParticleEmitter clone() {
  return clone(true);
}
com.jme3.effectParticleEmitterclone

Javadoc

Called internally by com.jme3.util.clone.Cloner. Do not call directly.

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>
  • 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
  • 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

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • getSystemService (Context)
  • compareTo (BigDecimal)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • Top Sublime Text plugins
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