com.jme3.effect.shapes
クラス EmitterMeshFaceShape

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

public class EmitterMeshFaceShape
extends EmitterMeshVertexShape

This emiter shape emits the particles from the given shape's faces.


コンストラクタの概要
EmitterMeshFaceShape()
          Empty constructor.
EmitterMeshFaceShape(java.util.List<Mesh> meshes)
          Constructor.
 
メソッドの概要
 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.
 
クラス com.jme3.effect.shapes.EmitterMeshVertexShape から継承されたメソッド
deepClone, read, write
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EmitterMeshFaceShape

public EmitterMeshFaceShape()
Empty constructor. Sets nothing.


EmitterMeshFaceShape

public EmitterMeshFaceShape(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)
クラス EmitterMeshVertexShape の記述:
This method sets the meshes that will form the emiter's shape.

オーバーライド:
クラス EmitterMeshVertexShape 内の setMeshes
パラメータ:
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 on a random face.

定義:
インタフェース EmitterShape 内の getRandomPoint
オーバーライド:
クラス EmitterMeshVertexShape 内の getRandomPoint
パラメータ:
store - the variable to store with coordinates of randomly selected selected point on a random face

getRandomPointAndNormal

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

定義:
インタフェース EmitterShape 内の getRandomPointAndNormal
オーバーライド:
クラス EmitterMeshVertexShape 内の getRandomPointAndNormal
パラメータ:
store - the variable to store with coordinates of randomly selected selected point on a random face
normal - filled with selected face's normal