public class ParticleParameter
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
MAX_VALUE_UNDEFINED |
Constructor and Description |
---|
ParticleParameter() |
ParticleParameter(float minValue,
float maxValue) |
Modifier and Type | Method and Description |
---|---|
double |
get()
Gets either the actual value or a random value, depending on the random
number flag being set.
|
double |
getMaxValue() |
double |
getMinValue() |
float |
getRandomNumber() |
void |
setMaxValue(double maxValue) |
void |
setMinValue(double minValue) |
public static final int MAX_VALUE_UNDEFINED
public ParticleParameter()
public ParticleParameter(float minValue, float maxValue)
public double get()
public double getMaxValue()
public double getMinValue()
public float getRandomNumber()
public void setMaxValue(double maxValue)
public void setMinValue(double minValue)