com.jme3.effect.influencers
クラス EmptyParticleInfluencer

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

public class EmptyParticleInfluencer
extends java.lang.Object
implements ParticleInfluencer

This influencer does not influence particle at all. It makes particles not to move.


コンストラクタの概要
EmptyParticleInfluencer()
           
 
メソッドの概要
 ParticleInfluencer clone()
          This method clones the influencer instance.
 Vector3f getInitialVelocity()
          This method returns the initial velocity.
 float getVelocityVariation()
          This method returns the velocity variation.
 void influenceParticle(Particle particle, EmitterShape emitterShape)
          This method influences the particle.
 void read(JmeImporter im)
           
 void setInitialVelocity(Vector3f initialVelocity)
           
 void setVelocityVariation(float variation)
           
 void write(JmeExporter ex)
           
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

EmptyParticleInfluencer

public EmptyParticleInfluencer()
メソッドの詳細

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

influenceParticle

public void influenceParticle(Particle particle,
                              EmitterShape emitterShape)
インタフェース ParticleInfluencer の記述:
This method influences the particle.

定義:
インタフェース ParticleInfluencer 内の influenceParticle
パラメータ:
particle - particle to be influenced
emitterShape - the shape of it emitter

setInitialVelocity

public void setInitialVelocity(Vector3f initialVelocity)
定義:
インタフェース ParticleInfluencer 内の setInitialVelocity
パラメータ:
initialVelocity - Set the initial velocity a particle is spawned with, the initial velocity given in the parameter will be varied according to the velocity variation set in ParticleEmitter.setVelocityVariation(float). A particle will move toward its velocity unless it is effected by the gravity.

getInitialVelocity

public Vector3f getInitialVelocity()
インタフェース ParticleInfluencer の記述:
This method returns the initial velocity.

定義:
インタフェース ParticleInfluencer 内の getInitialVelocity
戻り値:
the initial velocity

setVelocityVariation

public void setVelocityVariation(float variation)
定義:
インタフェース ParticleInfluencer 内の setVelocityVariation
パラメータ:
variation - Set the variation by which the initial velocity of the particle is determined. variation should be a value from 0 to 1, where 0 means particles are to spawn with exactly the velocity given in ParticleEmitter#setStartVel(com.jme3.math.Vector3f) , and 1 means particles are to spawn with a completely random velocity.

getVelocityVariation

public float getVelocityVariation()
インタフェース ParticleInfluencer の記述:
This method returns the velocity variation.

定義:
インタフェース ParticleInfluencer 内の getVelocityVariation
戻り値:
the velocity variation

clone

public ParticleInfluencer clone()
インタフェース ParticleInfluencer の記述:
This method clones the influencer instance.

定義:
インタフェース ParticleInfluencer 内の clone
オーバーライド:
クラス java.lang.Object 内の clone
戻り値:
cloned instance