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 |
|---|---|
float |
get()
Gets either the actual value or a random value, depending on the random
number flag being set.
|
float |
getMaxValue() |
float |
getMinValue() |
float |
getRandomNumber() |
void |
setMaxValue(float maxValue) |
void |
setMinValue(float minValue) |
public static final int MAX_VALUE_UNDEFINED
public ParticleParameter()
public ParticleParameter(float minValue,
float maxValue)
public float get()
public float getMaxValue()
public float getMinValue()
public float getRandomNumber()
public void setMaxValue(float maxValue)
public void setMinValue(float minValue)