|
||||||||||
| 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
com.threerings.opengl.effect.config.ParticleSystemConfig.Layer
public static class ParticleSystemConfig.Layer
A single layer of the system.
| Field Summary | |
|---|---|
ParticleSystemConfig.Alignment |
alignment
Whether or not to align particles' orientations with their velocities. |
SoftReference<float[]> |
data
The shared data array. |
boolean |
depthSort
Whether or not to sort the particles by depth before rendering. |
SoftReference<BufferObject> |
elementArrayBuffer
The shared element array buffer. |
FloatFunctionVariable |
frame
Controls the particles' change of texture frame over their lifespans. |
ParticleSystemConfig.ParticleGeometryConfig |
geometry
The particle geometry. |
SoftReference<ShortBuffer> |
indices
The shared indices. |
FloatFunctionVariable |
length
Controls the particles' change of length over their lifespans. |
ConfigReference<MaterialConfig> |
material
The material to use for the particle system. |
ParticleSystemConfig.GroupPriority |
priorityMode
The render priority (higher priority layers are rendered above lower priority ones). |
int |
textureDivisionsS
The number of texture divisions in the S direction. |
int |
textureDivisionsT
The number of texture divisions in the T direction. |
| Fields inherited from class com.threerings.opengl.effect.config.BaseParticleSystemConfig.Layer |
|---|
alphaMode, angularVelocity, color, counter, identity, influences, lifespan, moveParticlesWithEmitter, name, orientation, particleCount, placer, respawnDeadParticles, rotateOrientationsWithEmitter, rotateVelocitiesWithEmitter, shooter, size, speed, startTime, timeScale, transform, visible |
| Constructor Summary | |
|---|---|
ParticleSystemConfig.Layer()
|
|
| Method Summary | |
|---|---|
void |
invalidate()
Invalidates any cached data. |
boolean |
shouldRotateOrientations()
Checks whether we should rotate the orientations and angular velocities (because the alignment is fixed rather than billboard, etc.) |
| Methods inherited from class com.threerings.opengl.effect.config.BaseParticleSystemConfig.Layer |
|---|
readFields, writeFields |
| 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(category="appearance",
weight=-0.5)
public ParticleSystemConfig.ParticleGeometryConfig geometry
@Editable(category="appearance",
weight=-0.5)
public ParticleSystemConfig.Alignment alignment
@Editable(category="appearance",
weight=1.5,
nullable=true)
public ConfigReference<MaterialConfig> material
@Editable(category="appearance",
weight=1.5,
min=1.0)
public int textureDivisionsS
@Editable(category="appearance",
weight=1.5,
min=1.0)
public int textureDivisionsT
@Editable(category="appearance",
weight=2.5)
public boolean depthSort
@Editable(category="appearance",
weight=2.5,
nullable=true)
public ParticleSystemConfig.GroupPriority priorityMode
@Editable(category="appearance",
weight=3.5,
min=0.0,
step=0.01)
public FloatFunctionVariable length
@Editable(category="appearance",
weight=3.5,
min=0.0)
public FloatFunctionVariable frame
@DeepOmit public transient SoftReference<float[]> data
@DeepOmit public transient SoftReference<ShortBuffer> indices
@DeepOmit public transient SoftReference<BufferObject> elementArrayBuffer
| Constructor Detail |
|---|
public ParticleSystemConfig.Layer()
| Method Detail |
|---|
public void invalidate()
public boolean shouldRotateOrientations()
BaseParticleSystemConfig.Layer
shouldRotateOrientations in class BaseParticleSystemConfig.Layer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||