com.jme3.effect.shapes
Interface EmitterShape

All Superinterfaces:
java.lang.Cloneable, Savable
All Known Implementing Classes:
EmitterBoxShape, EmitterMeshConvexHullShape, EmitterMeshFaceShape, EmitterMeshVertexShape, EmitterPointShape, EmitterSphereShape

public interface EmitterShape
extends Savable, java.lang.Cloneable

This interface declares methods used by all shapes that represent particle emitters.


Method Summary
 EmitterShape deepClone()
          This method creates a deep clone of the current instance of the emitter shape.
 void getRandomPoint(Vector3f store)
          This method fills in the initial position of the particle.
 void getRandomPointAndNormal(Vector3f store, Vector3f normal)
          This method fills in the initial position of the particle and its normal vector.
 
Methods inherited from interface com.jme3.export.Savable
read, write
 

Method Detail

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