Interface EmitterShape

All Superinterfaces:
Cloneable, JmeCloneable, Savable
All Known Implementing Classes:
EmitterBoxShape, EmitterMeshConvexHullShape, EmitterMeshFaceShape, EmitterMeshVertexShape, EmitterPointShape, EmitterSphereShape

public interface EmitterShape extends Savable, Cloneable, JmeCloneable
This interface declares methods used by all shapes that represent particle emitters.
  • Method Details

    • getRandomPoint

      void getRandomPoint(Vector3f store)
      This method fills in the initial position of the particle.
      Parameters:
      store - store variable for initial position
    • getRandomPointAndNormal

      void getRandomPointAndNormal(Vector3f store, Vector3f normal)
      This method fills in the initial position of the particle and its normal vector.
      Parameters:
      store - store variable for initial position
      normal - store variable for initial normal
    • deepClone

      EmitterShape deepClone()
      This method creates a deep clone of the current instance of the emitter shape.
      Returns:
      deep clone of the current instance of the emitter shape