public class EmitterMeshConvexHullShape extends EmitterMeshFaceShape
normals, vertices| Constructor and Description | 
|---|
EmitterMeshConvexHullShape()
Empty constructor. 
 | 
EmitterMeshConvexHullShape(java.util.List<Mesh> meshes)
Constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
getRandomPoint(Vector3f store)
Randomly selects a point inside the convex hull
 of a randomly selected mesh. 
 | 
void | 
getRandomPointAndNormal(Vector3f store,
                       Vector3f normal)
Randomly selects a point inside the convex hull
 of a randomly selected mesh. 
 | 
setMeshescloneFields, deepClone, jmeClone, read, writepublic EmitterMeshConvexHullShape()
public EmitterMeshConvexHullShape(java.util.List<Mesh> meshes)
meshes - a list of meshes that will form the emitter's shapepublic void getRandomPoint(Vector3f store)
getRandomPoint in interface EmitterShapegetRandomPoint in class EmitterMeshFaceShapestore - storage for the coordinates of the selected pointpublic void getRandomPointAndNormal(Vector3f store, Vector3f normal)
normal argument is not used.getRandomPointAndNormal in interface EmitterShapegetRandomPointAndNormal in class EmitterMeshFaceShapestore - storage for the coordinates of the selected pointnormal - not used in this class