com.jme3.effect
Class Particle

java.lang.Object
  extended by com.jme3.effect.Particle

public class Particle
extends java.lang.Object

Represents a single particle in a ParticleEmitter.


Field Summary
 float angle
          Particle rotation angle (in radians).
 ColorRGBA color
          Particle color
 int imageIndex
          Particle image index.
 float life
          Particle remaining life, in seconds.
 Vector3f position
          Current particle position
 float rotateSpeed
          Particle rotation angle speed (in radians).
 float size
          Particle size or radius.
 float startlife
          The initial particle life
 Vector3f velocity
          Particle velocity.
 
Constructor Summary
Particle()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

velocity

public final Vector3f velocity
Particle velocity.


position

public final Vector3f position
Current particle position


color

public final ColorRGBA color
Particle color


size

public float size
Particle size or radius.


life

public float life
Particle remaining life, in seconds.


startlife

public float startlife
The initial particle life


angle

public float angle
Particle rotation angle (in radians).


rotateSpeed

public float rotateSpeed
Particle rotation angle speed (in radians).


imageIndex

public int imageIndex
Particle image index.

Constructor Detail

Particle

public Particle()