com.jmex.effects.particles
Class ParticleAppearanceRamp

java.lang.Object
  extended by com.jmex.effects.particles.ParticleAppearanceRamp
All Implemented Interfaces:
Savable

public class ParticleAppearanceRamp
extends java.lang.Object
implements Savable


Field Summary
protected  java.util.ArrayList<RampEntry> entries
           
 
Constructor Summary
ParticleAppearanceRamp()
           
 
Method Summary
 void addEntry(int index, RampEntry entry)
           
 void addEntry(RampEntry entry)
           
 void clearEntries()
           
 java.lang.Class getClassTag()
          The peristed type for the object.
 java.util.Iterator<RampEntry> getEntries()
           
 void getValuesAtAge(float age, float maxAge, ColorRGBA store, float[] fStore, ParticleSystem particles)
           
 void read(JMEImporter im)
           
 void removeEntry(int index)
           
 void removeEntry(RampEntry entry)
           
 void write(JMEExporter ex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

entries

protected java.util.ArrayList<RampEntry> entries
Constructor Detail

ParticleAppearanceRamp

public ParticleAppearanceRamp()
Method Detail

addEntry

public void addEntry(RampEntry entry)

addEntry

public void addEntry(int index,
                     RampEntry entry)

clearEntries

public void clearEntries()

getEntries

public java.util.Iterator<RampEntry> getEntries()

removeEntry

public void removeEntry(RampEntry entry)

removeEntry

public void removeEntry(int index)

getValuesAtAge

public void getValuesAtAge(float age,
                           float maxAge,
                           ColorRGBA store,
                           float[] fStore,
                           ParticleSystem particles)

getClassTag

public java.lang.Class getClassTag()
Description copied from interface: Savable
The peristed type for the object. Note that tag here does not mean XML tag, but the class that the object is tagged with.

Specified by:
getClassTag in interface Savable

read

public void read(JMEImporter im)
          throws java.io.IOException
Specified by:
read in interface Savable
Throws:
java.io.IOException

write

public void write(JMEExporter ex)
           throws java.io.IOException
Specified by:
write in interface Savable
Throws:
java.io.IOException


Copyright 2003-2009 jMonkeyEngine