Package com.jme3.effect.shapes
Interface EmitterShape
- All Superinterfaces:
Cloneable
,JmeCloneable
,Savable
- All Known Implementing Classes:
EmitterBoxShape
,EmitterMeshConvexHullShape
,EmitterMeshFaceShape
,EmitterMeshVertexShape
,EmitterPointShape
,EmitterSphereShape
This interface declares methods used by all shapes that represent particle emitters.
-
Method Summary
Modifier and TypeMethodDescriptionThis 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.util.clone.JmeCloneable
cloneFields, jmeClone
-
Method Details
-
getRandomPoint
This method fills in the initial position of the particle.- Parameters:
store
- store variable for initial position
-
getRandomPointAndNormal
This method fills in the initial position of the particle and its normal vector.- Parameters:
store
- store variable for initial positionnormal
- 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
-