Package com.badlogic.gdx.graphics.g3d.particles.values

Examples of com.badlogic.gdx.graphics.g3d.particles.values.PointSpawnShapeValue


  }

  protected void initializeComponents () {
    super.initializeComponents();
   
    pointSpawnShapeValue = new PointSpawnShapeValue();
    lineSpawnShapeValue = new LineSpawnShapeValue();
    rectangleSpawnShapeValue = new RectangleSpawnShapeValue();
    ellipseSpawnShapeValue = new EllipseSpawnShapeValue();
    cylinderSpawnShapeValue = new CylinderSpawnShapeValue();
    meshSpawnShapeValue = new UnweightedMeshSpawnShapeValue();
View Full Code Here


    emitter.getLife().setTimeline(new float[] {0, 0.66f, 1});
    emitter.getLife().setScaling(new float[] {1, 1, 0.3f});
    emitter.setMaxParticleCount(200);

    //Spawn
    PointSpawnShapeValue pointSpawnShapeValue = new PointSpawnShapeValue();
    SpawnInfluencer spawnSource = new SpawnInfluencer(pointSpawnShapeValue);

    //Color
    ColorInfluencer.Single colorInfluencer = new ColorInfluencer.Single();
    colorInfluencer.colorValue.setColors(new float[] {1, 0.12156863f, 0.047058824f, 0,0,0});
View Full Code Here

    colorInfluencer.alphaValue.setHigh(1);
    colorInfluencer.alphaValue.setTimeline(new float[] {0, 0.5f, 0.8f, 1});
    colorInfluencer.alphaValue.setScaling(new float[] {0, 0.15f, 0.5f, 0});

    //Spawn
    PointSpawnShapeValue pointSpawnShapeValue = new PointSpawnShapeValue();
    SpawnInfluencer spawnSource = new SpawnInfluencer(pointSpawnShapeValue);

    //Velocity
    DynamicsInfluencer velocityInfluencer = new DynamicsInfluencer();
View Full Code Here

    emitter.getLife().setTimeline(new float[] {0, 0.66f, 1});
    emitter.getLife().setScaling(new float[] {1, 1, 0.3f});
    emitter.setMaxParticleCount(100);

    //Spawn
    PointSpawnShapeValue pointSpawnShapeValue = new PointSpawnShapeValue();   
    pointSpawnShapeValue.xOffsetValue.setLow(0, 1f);
    pointSpawnShapeValue.xOffsetValue.setActive(true);
    pointSpawnShapeValue.yOffsetValue.setLow(0, 1f);
    pointSpawnShapeValue.yOffsetValue.setActive(true);
    pointSpawnShapeValue.zOffsetValue.setLow(0, 1f);
View Full Code Here

  public SpawnShapeValue spawnShapeValue;
  FloatChannel positionChannel;
 
  public SpawnInfluencer(){
    spawnShapeValue = new PointSpawnShapeValue();
  }
View Full Code Here

TOP

Related Classes of com.badlogic.gdx.graphics.g3d.particles.values.PointSpawnShapeValue

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.