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

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

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

origin: jMonkeyEngine/jmonkeyengine

/**
 * Sets the type of mesh used by the particle emitter.
 * @param meshType The mesh type to use
 */
public void setMeshType(ParticleMesh.Type meshType) {
  this.meshType = meshType;
  switch (meshType) {
    case Point:
      particleMesh = new ParticlePointMesh();
      this.setMesh(particleMesh);
      break;
    case Triangle:
      particleMesh = new ParticleTriMesh();
      this.setMesh(particleMesh);
      break;
    default:
      throw new IllegalStateException("Unrecognized particle type: " + meshType);
  }
  this.setNumParticles(particles.length);
}
origin: jMonkeyEngine/jmonkeyengine

case Point:
  particleMesh = new ParticlePointMesh();
  this.setMesh(particleMesh);
  break;
case Triangle:
  particleMesh = new ParticleTriMesh();
  this.setMesh(particleMesh);
  break;
default:
origin: jMonkeyEngine/jmonkeyengine

case Point:
  clone.particleMesh = new ParticlePointMesh();
  clone.setMesh(clone.particleMesh);
  break;
case Triangle:
  clone.particleMesh = new ParticleTriMesh();
  clone.setMesh(clone.particleMesh);
  break;
default:
origin: jMonkeyEngine/jmonkeyengine

case Point:
  particleMesh = new ParticlePointMesh();
  this.setMesh(particleMesh);
  break;
case Triangle:
  particleMesh = new ParticleTriMesh();
  this.setMesh(particleMesh);
  break;
default:
origin: org.jmonkeyengine/jme3-core

/**
 * Sets the type of mesh used by the particle emitter.
 * @param meshType The mesh type to use
 */
public void setMeshType(ParticleMesh.Type meshType) {
  this.meshType = meshType;
  switch (meshType) {
    case Point:
      particleMesh = new ParticlePointMesh();
      this.setMesh(particleMesh);
      break;
    case Triangle:
      particleMesh = new ParticleTriMesh();
      this.setMesh(particleMesh);
      break;
    default:
      throw new IllegalStateException("Unrecognized particle type: " + meshType);
  }
  this.setNumParticles(particles.length);
}
origin: info.projectkyoto/mms-engine

/**
 * Sets the type of mesh used by the particle emitter.
 * @param meshType The mesh type to use
 */
public void setMeshType(ParticleMesh.Type meshType) {
  this.meshType = meshType;
  switch (meshType) {
    case Point:
      particleMesh = new ParticlePointMesh();
      this.setMesh(particleMesh);
      break;
    case Triangle:
      particleMesh = new ParticleTriMesh();
      this.setMesh(particleMesh);
      break;
    default:
      throw new IllegalStateException("Unrecognized particle type: " + meshType);
  }
  this.setNumParticles(particles.length);
}
origin: info.projectkyoto/mms-engine

case Point:
  particleMesh = new ParticlePointMesh();
  this.setMesh(particleMesh);
  break;
case Triangle:
  particleMesh = new ParticleTriMesh();
  this.setMesh(particleMesh);
  break;
default:
origin: org.jmonkeyengine/jme3-core

case Point:
  particleMesh = new ParticlePointMesh();
  this.setMesh(particleMesh);
  break;
case Triangle:
  particleMesh = new ParticleTriMesh();
  this.setMesh(particleMesh);
  break;
default:
origin: info.projectkyoto/mms-engine

case Point:
  clone.particleMesh = new ParticlePointMesh();
  clone.setMesh(clone.particleMesh);
  break;
case Triangle:
  clone.particleMesh = new ParticleTriMesh();
  clone.setMesh(clone.particleMesh);
  break;
default:
origin: org.jmonkeyengine/jme3-core

case Point:
  clone.particleMesh = new ParticlePointMesh();
  clone.setMesh(clone.particleMesh);
  break;
case Triangle:
  clone.particleMesh = new ParticleTriMesh();
  clone.setMesh(clone.particleMesh);
  break;
default:
origin: org.jmonkeyengine/jme3-core

case Point:
  particleMesh = new ParticlePointMesh();
  this.setMesh(particleMesh);
  break;
case Triangle:
  particleMesh = new ParticleTriMesh();
  this.setMesh(particleMesh);
  break;
default:
origin: info.projectkyoto/mms-engine

case Point:
  particleMesh = new ParticlePointMesh();
  this.setMesh(particleMesh);
  break;
case Triangle:
  particleMesh = new ParticleTriMesh();
  this.setMesh(particleMesh);
  break;
default:
com.jme3.effectParticleEmittersetMesh

Javadoc

Sets the type of mesh used by the particle emitter.

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
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • addToBackStack (FragmentTransaction)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Color (java.awt)
    The Color class is used to encapsulate colors in the default sRGB color space or colors in arbitrary
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • 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