|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.util.DeepObject
com.threerings.opengl.effect.config.BaseParticleSystemConfig.Layer
public abstract static class BaseParticleSystemConfig.Layer
A single layer of the system.
| Field Summary | |
|---|---|
AlphaMode |
alphaMode
Determines how colors are modified according to their alpha values. |
VectorVariable |
angularVelocity
Controls the particles' initial angular velocities. |
ColorFunctionVariable |
color
Controls the particles' change of color over their lifespans. |
CounterConfig |
counter
Controls the number of particles emitted at each frame. |
BaseParticleSystemConfig.Layer |
identity
Used to identify the layer after customization. |
InfluenceConfig[] |
influences
The layer's influences. |
FloatVariable |
lifespan
Controls the particles' lifespans. |
boolean |
moveParticlesWithEmitter
Whether or not to move particles with the emitter. |
String |
name
The name of the layer. |
QuaternionVariable |
orientation
Controls the particles' initial orientations. |
int |
particleCount
The particle count. |
PlacerConfig |
placer
Controls the particles' initial positions. |
boolean |
respawnDeadParticles
Whether or not to respawn dead particles. |
boolean |
rotateOrientationsWithEmitter
Whether or not to rotate the particles' initial orientations with the emitter. |
boolean |
rotateVelocitiesWithEmitter
Whether or not to rotate the velocities with the emitter. |
ShooterConfig |
shooter
Controls the particles' initial directions. |
FloatFunctionVariable |
size
Controls the particles' change of size over their lifespans. |
FloatVariable |
speed
Controls the particles' initial speeds. |
float |
startTime
The time at which to start the layer. |
float |
timeScale
The layer's speed multiplier. |
Transform3D |
transform
The emitter transform. |
boolean |
visible
Whether or not the layer is visible. |
| Constructor Summary | |
|---|---|
BaseParticleSystemConfig.Layer()
|
|
| Method Summary | |
|---|---|
void |
readFields(Importer in)
Custom read method. |
abstract boolean |
shouldRotateOrientations()
Checks whether we should rotate the orientations and angular velocities (because the alignment is fixed rather than billboard, etc.) |
void |
writeFields(Exporter out)
Custom write method. |
| Methods inherited from class com.threerings.util.DeepObject |
|---|
clone, copy, copy, equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
@Editable(column=true) public String name
@Editable(column=true) public boolean visible
@Editable(category="appearance",
weight=1.0,
min=0.0)
public int particleCount
@Editable(category="appearance",
weight=2.0)
public AlphaMode alphaMode
@Editable(category="appearance",
weight=3.0,
mode="alpha")
public ColorFunctionVariable color
@Editable(category="appearance",
weight=3.0,
min=0.0,
step=0.01)
public FloatFunctionVariable size
@Editable(category="origin",
mode="rigid",
step=0.01)
public Transform3D transform
@Editable(category="origin") public PlacerConfig placer
@Editable(category="origin") public QuaternionVariable orientation
@Editable(category="origin") public transient boolean rotateOrientationsWithEmitter
@Editable(category="origin") public boolean moveParticlesWithEmitter
@Editable(category="emission") public ShooterConfig shooter
@Editable(category="emission",
min=0.0,
step=0.01)
public FloatVariable speed
@Editable(category="emission",
scale=0.017453292519943295)
public VectorVariable angularVelocity
@Editable(category="emission") public boolean rotateVelocitiesWithEmitter
@Editable(category="flow") public CounterConfig counter
@Editable(category="flow") public boolean respawnDeadParticles
@Editable(category="world",
min=0.0,
step=0.01)
public FloatVariable lifespan
@Editable(category="world",
min=0.0,
step=0.01)
public float startTime
@Editable(category="world",
min=0.0,
step=0.01)
public float timeScale
@Editable(category="influences") public InfluenceConfig[] influences
@Shallow public transient BaseParticleSystemConfig.Layer identity
| Constructor Detail |
|---|
public BaseParticleSystemConfig.Layer()
| Method Detail |
|---|
public abstract boolean shouldRotateOrientations()
public void writeFields(Exporter out)
throws IOException
IOException
public void readFields(Importer in)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||