Codota Logo
ParticleController.<init>
Code IndexAdd Codota 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)

  • Common ways to obtain ParticleController
private void myMethod () {
ParticleController p =
  • Codota IconArray array;array.get(index)
  • Smart code suggestions by Codota
}
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

  • Start an intent from android
  • findViewById (Activity)
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Properties (java.util)
    The Properties class represents a persistent set of properties. The Properties can be saved to a st
  • ImageIO (javax.imageio)
  • JLabel (javax.swing)
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