|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectcom.jme3.effect.influencers.DefaultParticleInfluencer
public class DefaultParticleInfluencer
This emitter influences the particles so that they move all in the same direction. The direction may vary a little if the velocity variation is non zero. This influencer is default for the particle emitter.
| コンストラクタの概要 | |
|---|---|
DefaultParticleInfluencer()
|
|
| メソッドの概要 | |
|---|---|
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 |
| コンストラクタの詳細 |
|---|
public DefaultParticleInfluencer()
| メソッドの詳細 |
|---|
public void influenceParticle(Particle particle,
EmitterShape emitterShape)
ParticleInfluencer の記述:
ParticleInfluencer 内の influenceParticleparticle - particle to be influencedemitterShape - the shape of it emitter
public void write(JmeExporter ex)
throws java.io.IOException
Savable 内の writejava.io.IOException
public void read(JmeImporter im)
throws java.io.IOException
Savable 内の readjava.io.IOExceptionpublic ParticleInfluencer clone()
ParticleInfluencer の記述:
ParticleInfluencer 内の clonejava.lang.Object 内の clonepublic void setInitialVelocity(Vector3f initialVelocity)
ParticleInfluencer 内の setInitialVelocityinitialVelocity - 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.public Vector3f getInitialVelocity()
ParticleInfluencer の記述:
ParticleInfluencer 内の getInitialVelocitypublic void setVelocityVariation(float variation)
ParticleInfluencer 内の setVelocityVariationvariation - 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.public float getVelocityVariation()
ParticleInfluencer の記述:
ParticleInfluencer 内の getVelocityVariation
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||