com.jme3.effect.shapes
クラス EmitterMeshConvexHullShape

java.lang.Object
  上位を拡張 com.jme3.effect.shapes.EmitterMeshVertexShape
      上位を拡張 com.jme3.effect.shapes.EmitterMeshFaceShape
          上位を拡張 com.jme3.effect.shapes.EmitterMeshConvexHullShape
すべての実装されたインタフェース:
EmitterShape, Savable, java.lang.Cloneable

public class EmitterMeshConvexHullShape
extends EmitterMeshFaceShape

This emiter shape emits the particles from the given shape's interior constrained by its convex hull (a geometry that tightly wraps the mesh). So in case of multiple meshes some vertices may appear in a space between them.


コンストラクタの概要
EmitterMeshConvexHullShape()
          Empty constructor.
EmitterMeshConvexHullShape(java.util.List<Mesh> meshes)
          Constructor.
 
メソッドの概要
 void getRandomPoint(Vector3f store)
          This method fills the point with coordinates of randomly selected point inside a convex hull of randomly selected mesh.
 void getRandomPointAndNormal(Vector3f store, Vector3f normal)
          This method fills the point with coordinates of randomly selected point inside a convex hull of randomly selected mesh.
 
クラス com.jme3.effect.shapes.EmitterMeshFaceShape から継承されたメソッド
setMeshes
 
クラス com.jme3.effect.shapes.EmitterMeshVertexShape から継承されたメソッド
deepClone, read, write
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EmitterMeshConvexHullShape

public EmitterMeshConvexHullShape()
Empty constructor. Sets nothing.


EmitterMeshConvexHullShape

public EmitterMeshConvexHullShape(java.util.List<Mesh> meshes)
Constructor. It stores a copy of vertex list of all meshes.

パラメータ:
meshes - a list of meshes that will form the emitter's shape
メソッドの詳細

getRandomPoint

public void getRandomPoint(Vector3f store)
This method fills the point with coordinates of randomly selected point inside a convex hull of randomly selected mesh.

定義:
インタフェース EmitterShape 内の getRandomPoint
オーバーライド:
クラス EmitterMeshFaceShape 内の getRandomPoint
パラメータ:
store - the variable to store with coordinates of randomly selected selected point inside a convex hull of randomly selected mesh

getRandomPointAndNormal

public void getRandomPointAndNormal(Vector3f store,
                                    Vector3f normal)
This method fills the point with coordinates of randomly selected point inside a convex hull of randomly selected mesh. The normal param is not used.

定義:
インタフェース EmitterShape 内の getRandomPointAndNormal
オーバーライド:
クラス EmitterMeshFaceShape 内の getRandomPointAndNormal
パラメータ:
store - the variable to store with coordinates of randomly selected selected point inside a convex hull of randomly selected mesh
normal - not used in this class