Class ParticleTriMesh

All Implemented Interfaces:
Savable, JmeCloneable, Cloneable

public class ParticleTriMesh extends ParticleMesh
  • Constructor Details

    • ParticleTriMesh

      public ParticleTriMesh()
  • Method Details

    • initParticleData

      public void initParticleData(ParticleEmitter emitter, int numParticles)
      Description copied from class: ParticleMesh
      Initialize mesh data.
      Specified by:
      initParticleData in class ParticleMesh
      Parameters:
      emitter - The emitter which will use this ParticleMesh.
      numParticles - The maximum number of particles to simulate
    • setImagesXY

      public void setImagesXY(int imagesX, int imagesY)
      Description copied from class: ParticleMesh
      Set the images on the X and Y coordinates
      Specified by:
      setImagesXY in class ParticleMesh
      Parameters:
      imagesX - Images on the X coordinate
      imagesY - Images on the Y coordinate
    • updateParticleData

      public void updateParticleData(Particle[] particles, Camera cam, Matrix3f inverseRotation)
      Description copied from class: ParticleMesh
      Update the particle visual data. Typically called every frame.
      Specified by:
      updateParticleData in class ParticleMesh
      Parameters:
      particles - the particles to update
      cam - the camera to use for billboarding
      inverseRotation - the inverse rotation matrix