|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectj3d.examples.particles.influences.Shape3DInfluence
j3d.examples.particles.influences.EmitShapeLight
public class EmitShapeLight
Constructor Summary | |
---|---|
EmitShapeLight(javax.vecmath.Color3f aColor,
float aConstant,
float aLinear,
float aQuadradic)
Emit a burst of colored light and slowly decrease the intensity as the particle ages. |
|
EmitShapeLight(float aConstant,
float aLinear,
float aQuadradic)
Emit a burst of white light and slowly decrease the intensity as the particle ages. |
|
EmitShapeLight(ParticleAgeAlpha anAlpha,
javax.vecmath.Color3f aColor,
float aConstant,
float aLinear,
float aQuadradic)
Emit a point light based on the particle age alpha. |
Method Summary | |
---|---|
void |
aboutToDie(java.util.List aList,
float dt)
|
void |
aboutToEmit(java.util.List aList,
float dt)
|
void |
apply(Particle aParticle,
float dt)
Apply this (possibly time varying) influence to the particle for the time interval. |
void |
initializeParticle(Particle aParticle)
Initialize a particle prior to the first emission. |
void |
updated(java.util.List c,
float dt)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EmitShapeLight(float aConstant, float aLinear, float aQuadradic)
public EmitShapeLight(javax.vecmath.Color3f aColor, float aConstant, float aLinear, float aQuadradic)
public EmitShapeLight(ParticleAgeAlpha anAlpha, javax.vecmath.Color3f aColor, float aConstant, float aLinear, float aQuadradic)
Method Detail |
---|
public void initializeParticle(Particle aParticle)
IExternalInfluence
initializeParticle
in interface IExternalInfluence
aParticle
- - the particle to initialize.public void apply(Particle aParticle, float dt)
IExternalInfluence
apply
in interface IExternalInfluence
aParticle
- - The particle to updatedt
- - The time interval (in seconds) since the last applypublic void aboutToDie(java.util.List aList, float dt)
aboutToDie
in interface IParticleLifeCycleListener
public void aboutToEmit(java.util.List aList, float dt)
aboutToEmit
in interface IParticleLifeCycleListener
public void updated(java.util.List c, float dt)
updated
in interface IParticleLifeCycleListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |