Package com.jme3.effect
Class Particle
java.lang.Object
com.jme3.effect.Particle
Represents a single particle in a
ParticleEmitter
.-
Field Summary
Modifier and TypeFieldDescriptionfloat
Particle rotation angle (in radians).final ColorRGBA
Particle colorint
Particle image index.float
Particle remaining life, in seconds.final Vector3f
Current particle positionfloat
Particle rotation angle speed (in radians).float
Particle size or radius.float
The initial particle lifefinal Vector3f
Particle velocity. -
Constructor Summary
-
Method Summary
-
Field Details
-
velocity
Particle velocity. -
position
Current particle position -
color
Particle color -
size
public float sizeParticle size or radius. -
life
public float lifeParticle remaining life, in seconds. -
startlife
public float startlifeThe initial particle life -
angle
public float angleParticle rotation angle (in radians). -
rotateSpeed
public float rotateSpeedParticle rotation angle speed (in radians). -
imageIndex
public int imageIndexParticle image index.
-
-
Constructor Details
-
Particle
public Particle()
-