Tabnine Logo
ParticleController.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.badlogic.gdx.graphics.g3d.particles.ParticleController
constructor

Best Java code snippets using com.badlogic.gdx.graphics.g3d.particles.ParticleController.<init> (Showing top 19 results out of 315)

origin: libgdx/libgdx

/** @return a copy of this controller */
public ParticleController copy () {
  Emitter emitter = (Emitter)this.emitter.copy();
  Influencer[] influencers = new Influencer[this.influencers.size];
  int i = 0;
  for (Influencer influencer : this.influencers) {
    influencers[i++] = (Influencer)influencer.copy();
  }
  return new ParticleController(new String(this.name), emitter, (ParticleControllerRenderer<?, ?>)renderer.copy(),
    influencers);
}
origin: libgdx/libgdx

/** @return a copy of this controller */
public ParticleController copy () {
  Emitter emitter = (Emitter)this.emitter.copy();
  Influencer[] influencers = new Influencer[this.influencers.size];
  int i = 0;
  for (Influencer influencer : this.influencers) {
    influencers[i++] = (Influencer)influencer.copy();
  }
  return new ParticleController(new String(this.name), emitter, (ParticleControllerRenderer<?, ?>)renderer.copy(),
    influencers);
}
origin: libgdx/libgdx

return new ParticleController("ModelInstance Controller", emitter, new ModelInstanceRenderer(editor.getModelInstanceParticleBatch()), 
  new ModelInfluencer.Single((Model) editor.assetManager.get(FlameMain.DEFAULT_MODEL_PARTICLE) ),
  spawnSource,
origin: libgdx/libgdx

return new ParticleController("ModelInstance Controller", emitter, new ModelInstanceRenderer(editor.getModelInstanceParticleBatch()), 
  new ModelInfluencer.Single((Model) editor.assetManager.get(FlameMain.DEFAULT_MODEL_PARTICLE) ),
  spawnSource,
origin: libgdx/libgdx

velocityInfluencer.velocities.add(velocityValue);
return new ParticleController("ParticleController Controller", emitter, new ParticleControllerControllerRenderer(),
  new ParticleControllerInfluencer.Single(editor.assetManager.get(FlameMain.DEFAULT_TEMPLATE_PFX, ParticleEffect.class).getControllers().get(0)),
  spawnSource,
origin: libgdx/libgdx

velocityInfluencer.velocities.add(velocityValue);
return new ParticleController("ParticleController Controller", emitter, new ParticleControllerControllerRenderer(),
  new ParticleControllerInfluencer.Single(editor.assetManager.get(FlameMain.DEFAULT_TEMPLATE_PFX, ParticleEffect.class).getControllers().get(0)),
  spawnSource,
origin: libgdx/libgdx

colorInfluencer.alphaValue.setScaling(new float[] {0, 0.15f, 0.5f, 0});
return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(editor.getBillboardBatch()), 
  new RegionInfluencer.Single(editor.getTexture()),
  spawnSource,
origin: libgdx/libgdx

colorInfluencer.alphaValue.setScaling(new float[] {0, 0.15f, 0.5f, 0});
return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(editor.getBillboardBatch()), 
  new RegionInfluencer.Single(editor.getTexture()),
  spawnSource,
origin: libgdx/libgdx

velocityInfluencer.velocities.add(velocityValue);
return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(editor.getBillboardBatch()), 
  new RegionInfluencer.Single(editor.getTexture()),
  spawnSource,
origin: libgdx/libgdx

velocityInfluencer.velocities.add(velocityValue);
return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(editor.getBillboardBatch()), 
  new RegionInfluencer.Single(editor.getTexture()),
  spawnSource,
origin: libgdx/libgdx

velocityValue.strengthValue.setHigh(5, 10);
return new ParticleController("PointSprite Controller", emitter, new PointSpriteRenderer(editor.getPointSpriteBatch()),
  new RegionInfluencer.Single((Texture) editor.assetManager.get(FlameMain.DEFAULT_BILLBOARD_PARTICLE) ),
  spawnSource,
origin: libgdx/libgdx

velocityValue.strengthValue.setHigh(5, 10);
return new ParticleController("PointSprite Controller", emitter, new PointSpriteRenderer(editor.getPointSpriteBatch()),
  new RegionInfluencer.Single((Texture) editor.assetManager.get(FlameMain.DEFAULT_BILLBOARD_PARTICLE) ),
  spawnSource,
origin: libgdx/libgdx

dynamicsInfluencer.velocities.add(modifier);
return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(billboardParticleBatch),
  new RegionInfluencer.Single(particleTexture),
  spawnSource,
origin: com.badlogicgames.gdx/gdx

/** @return a copy of this controller */
public ParticleController copy () {
  Emitter emitter = (Emitter)this.emitter.copy();
  Influencer[] influencers = new Influencer[this.influencers.size];
  int i = 0;
  for (Influencer influencer : this.influencers) {
    influencers[i++] = (Influencer)influencer.copy();
  }
  return new ParticleController(new String(this.name), emitter, (ParticleControllerRenderer<?, ?>)renderer.copy(),
    influencers);
}
origin: com.badlogicgames.gdx/gdx-tools

return new ParticleController("ModelInstance Controller", emitter, new ModelInstanceRenderer(editor.getModelInstanceParticleBatch()), 
  new ModelInfluencer.Single((Model) editor.assetManager.get(FlameMain.DEFAULT_MODEL_PARTICLE) ),
  spawnSource,
origin: com.badlogicgames.gdx/gdx-tools

velocityInfluencer.velocities.add(velocityValue);
return new ParticleController("ParticleController Controller", emitter, new ParticleControllerControllerRenderer(),
  new ParticleControllerInfluencer.Single(editor.assetManager.get(FlameMain.DEFAULT_TEMPLATE_PFX, ParticleEffect.class).getControllers().get(0)),
  spawnSource,
origin: com.badlogicgames.gdx/gdx-tools

colorInfluencer.alphaValue.setScaling(new float[] {0, 0.15f, 0.5f, 0});
return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(editor.getBillboardBatch()), 
  new RegionInfluencer.Single(editor.getTexture()),
  spawnSource,
origin: com.badlogicgames.gdx/gdx-tools

velocityInfluencer.velocities.add(velocityValue);
return new ParticleController("Billboard Controller", emitter, new BillboardRenderer(editor.getBillboardBatch()), 
  new RegionInfluencer.Single(editor.getTexture()),
  spawnSource,
origin: com.badlogicgames.gdx/gdx-tools

velocityValue.strengthValue.setHigh(5, 10);
return new ParticleController("PointSprite Controller", emitter, new PointSpriteRenderer(editor.getPointSpriteBatch()),
  new RegionInfluencer.Single((Texture) editor.assetManager.get(FlameMain.DEFAULT_BILLBOARD_PARTICLE) ),
  spawnSource,
com.badlogic.gdx.graphics.g3d.particlesParticleController<init>

Popular methods of ParticleController

  • init
    Initialize the controller. All the sub systems will be initialized and binded to the controller. Mus
  • start
    Start the simulation.
  • copy
  • dispose
  • end
    End the simulation.
  • draw
    Updates the renderer used by this controller, usually this means the particles will be draw inside a
  • setTransform
    Sets the current transformation to the given one.
  • translate
    Postmultiplies the current transformation with a translation matrix represented by the given transla
  • update
    Updates the particles data
  • activateParticles
    Generally called by the Emitter. This method will notify all the sub systems that a given amount of
  • allocateChannels
  • bind
    Bind the sub systems to the controller Called once during the init phase.
  • allocateChannels,
  • bind,
  • calculateBoundingBox,
  • findIndex,
  • findInfluencer,
  • getBoundingBox,
  • isComplete,
  • killParticles,
  • load

Popular in Java

  • Updating database using SQL prepared statement
  • getSharedPreferences (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getApplicationContext (Context)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • 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