|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.effect.shapes.EmitterMeshVertexShape
com.jme3.effect.shapes.EmitterMeshFaceShape
public class EmitterMeshFaceShape
This emiter shape emits the particles from the given shape's faces.
Field Summary |
---|
Fields inherited from class com.jme3.effect.shapes.EmitterMeshVertexShape |
---|
normals, vertices |
Constructor Summary | |
---|---|
EmitterMeshFaceShape()
Empty constructor. |
|
EmitterMeshFaceShape(java.util.List<Mesh> meshes)
Constructor. |
Method Summary | |
---|---|
void |
getRandomPoint(Vector3f store)
This method fills the point with coordinates of randomly selected point on a random face. |
void |
getRandomPointAndNormal(Vector3f store,
Vector3f normal)
This method fills the point with coordinates of randomly selected point on a random face. |
void |
setMeshes(java.util.List<Mesh> meshes)
This method sets the meshes that will form the emiter's shape. |
Methods inherited from class com.jme3.effect.shapes.EmitterMeshVertexShape |
---|
deepClone, read, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmitterMeshFaceShape()
public EmitterMeshFaceShape(java.util.List<Mesh> meshes)
meshes
- a list of meshes that will form the emitter's shapeMethod Detail |
---|
public void setMeshes(java.util.List<Mesh> meshes)
EmitterMeshVertexShape
setMeshes
in class EmitterMeshVertexShape
meshes
- a list of meshes that will form the emitter's shapepublic void getRandomPoint(Vector3f store)
getRandomPoint
in interface EmitterShape
getRandomPoint
in class EmitterMeshVertexShape
store
- the variable to store with coordinates of randomly selected selected point on a random facepublic void getRandomPointAndNormal(Vector3f store, Vector3f normal)
getRandomPointAndNormal
in interface EmitterShape
getRandomPointAndNormal
in class EmitterMeshVertexShape
store
- the variable to store with coordinates of randomly selected selected point on a random facenormal
- filled with selected face's normal
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |