com.jme3.effect.shapes
クラス EmitterMeshVertexShape

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

public class EmitterMeshVertexShape
extends java.lang.Object
implements EmitterShape

This emiter shape emits the particles from the given shape's vertices


コンストラクタの概要
EmitterMeshVertexShape()
          Empty constructor.
EmitterMeshVertexShape(java.util.List<Mesh> meshes)
          Constructor.
 
メソッドの概要
 EmitterShape deepClone()
          This method creates a deep clone of the current instance of the emitter shape.
 void getRandomPoint(Vector3f store)
          This method fills the point with coordinates of randomly selected mesh vertex.
 void getRandomPointAndNormal(Vector3f store, Vector3f normal)
          This method fills the point with coordinates of randomly selected mesh vertex.
 void read(JmeImporter im)
           
 void setMeshes(java.util.List<Mesh> meshes)
          This method sets the meshes that will form the emiter's shape.
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EmitterMeshVertexShape

public EmitterMeshVertexShape()
Empty constructor. Sets nothing.


EmitterMeshVertexShape

public EmitterMeshVertexShape(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
メソッドの詳細

setMeshes

public void setMeshes(java.util.List<Mesh> meshes)
This method sets the meshes that will form the emiter's shape.

パラメータ:
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 mesh vertex.

定義:
インタフェース EmitterShape 内の getRandomPoint
パラメータ:
store - the variable to store with coordinates of randomly selected mesh vertex

getRandomPointAndNormal

public void getRandomPointAndNormal(Vector3f store,
                                    Vector3f normal)
This method fills the point with coordinates of randomly selected mesh vertex. The normal param is filled with selected vertex's normal.

定義:
インタフェース EmitterShape 内の getRandomPointAndNormal
パラメータ:
store - the variable to store with coordinates of randomly selected mesh vertex
normal - filled with selected vertex's normal

deepClone

public EmitterShape deepClone()
インタフェース EmitterShape の記述:
This method creates a deep clone of the current instance of the emitter shape.

定義:
インタフェース EmitterShape 内の deepClone
戻り値:
deep clone of the current instance of the emitter shape

write

public void write(JmeExporter ex)
           throws java.io.IOException
定義:
インタフェース Savable 内の write
例外:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
定義:
インタフェース Savable 内の read
例外:
java.io.IOException