com.jme3.effect.influencers
クラス NewtonianParticleInfluencer

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

public class NewtonianParticleInfluencer
extends DefaultParticleInfluencer

This influencer calculates initial velocity with the use of the emitter's shape.


コンストラクタの概要
NewtonianParticleInfluencer()
          Constructor.
 
メソッドの概要
 ParticleInfluencer clone()
          This method clones the influencer instance.
 float getNormalVelocity()
          This method returns the normal velocity factor.
 float getSurfaceTangentFactor()
          This method returns the surface tangent factor.
 float getSurfaceTangentRotation()
          This method returns the surface tangent rotation factor.
 void influenceParticle(Particle particle, EmitterShape emitterShape)
          This method influences the particle.
 void read(JmeImporter im)
           
 void setNormalVelocity(float normalVelocity)
          This method sets the normal velocity factor.
 void setSurfaceTangentFactor(float surfaceTangentFactor)
          This method sets the surface tangent factor.
 void setSurfaceTangentRotation(float surfaceTangentRotation)
          This method sets the surface tangent rotation factor.
 void write(JmeExporter ex)
           
 
クラス com.jme3.effect.influencers.DefaultParticleInfluencer から継承されたメソッド
getInitialVelocity, getVelocityVariation, setInitialVelocity, setVelocityVariation
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

NewtonianParticleInfluencer

public NewtonianParticleInfluencer()
Constructor. Sets velocity variation to 0.0f.

メソッドの詳細

influenceParticle

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

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

getNormalVelocity

public float getNormalVelocity()
This method returns the normal velocity factor.

戻り値:
the normal velocity factor

setNormalVelocity

public void setNormalVelocity(float normalVelocity)
This method sets the normal velocity factor.

パラメータ:
normalVelocity - the normal velocity factor

setSurfaceTangentFactor

public void setSurfaceTangentFactor(float surfaceTangentFactor)
This method sets the surface tangent factor.

パラメータ:
surfaceTangentFactor - the surface tangent factor

getSurfaceTangentFactor

public float getSurfaceTangentFactor()
This method returns the surface tangent factor.

戻り値:
the surface tangent factor

setSurfaceTangentRotation

public void setSurfaceTangentRotation(float surfaceTangentRotation)
This method sets the surface tangent rotation factor.

パラメータ:
surfaceTangentRotation - the surface tangent rotation factor

getSurfaceTangentRotation

public float getSurfaceTangentRotation()
This method returns the surface tangent rotation factor.

戻り値:
the surface tangent rotation factor

clone

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

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

write

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

read

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