com.jme3.effect.shapes
クラス EmitterSphereShape

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

public class EmitterSphereShape
extends java.lang.Object
implements EmitterShape


コンストラクタの概要
EmitterSphereShape()
           
EmitterSphereShape(Vector3f center, float radius)
           
 
メソッドの概要
 EmitterShape deepClone()
          This method creates a deep clone of the current instance of the emitter shape.
 Vector3f getCenter()
           
 float getRadius()
           
 void getRandomPoint(Vector3f store)
          This method fills in the initial position of the particle.
 void getRandomPointAndNormal(Vector3f store, Vector3f normal)
          This method fills in the initial position of the particle and its normal vector.
 void read(JmeImporter im)
           
 void setCenter(Vector3f center)
           
 void setRadius(float radius)
           
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EmitterSphereShape

public EmitterSphereShape()

EmitterSphereShape

public EmitterSphereShape(Vector3f center,
                          float radius)
メソッドの詳細

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

getRandomPoint

public void getRandomPoint(Vector3f store)
インタフェース EmitterShape の記述:
This method fills in the initial position of the particle.

定義:
インタフェース EmitterShape 内の getRandomPoint
パラメータ:
store - store variable for initial position

getRandomPointAndNormal

public void getRandomPointAndNormal(Vector3f store,
                                    Vector3f normal)
インタフェース EmitterShape の記述:
This method fills in the initial position of the particle and its normal vector.

定義:
インタフェース EmitterShape 内の getRandomPointAndNormal
パラメータ:
store - store variable for initial position
normal - store variable for initial normal

getCenter

public Vector3f getCenter()

setCenter

public void setCenter(Vector3f center)

getRadius

public float getRadius()

setRadius

public void setRadius(float radius)

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