|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.expr.SimpleScope
com.threerings.opengl.effect.BaseParticleSystem.Layer
com.threerings.opengl.effect.MetaParticleSystem.Layer
public static class MetaParticleSystem.Layer
A single layer of the system.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
MetaParticleSystem.Layer(GlContext ctx,
Scope parentScope,
BaseParticleSystemConfig.Layer config)
Creates a new layer. |
|
| Method Summary | |
|---|---|
void |
composite()
Composites the layer for rendering. |
void |
dispose()
Releases the resources associated with this scope. |
void |
enqueue()
Enqueues this object for rendering. |
void |
setConfig(BaseParticleSystemConfig.Layer config)
Sets the layer's config. |
boolean |
tick(float elapsed)
Updates the current particle state based on the elapsed time in seconds. |
| Methods inherited from class com.threerings.opengl.effect.BaseParticleSystem.Layer |
|---|
drawBounds, getCamera, getConfig, getScopeName, pointToLayer, reset, rotationToLayer, vectorToLayer |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MetaParticleSystem.Layer(GlContext ctx,
Scope parentScope,
BaseParticleSystemConfig.Layer config)
| Method Detail |
|---|
public void enqueue()
Enqueueable
enqueue in interface Enqueueablepublic void setConfig(BaseParticleSystemConfig.Layer config)
BaseParticleSystem.Layer
setConfig in class BaseParticleSystem.Layerpublic boolean tick(float elapsed)
BaseParticleSystem.Layer
tick in class BaseParticleSystem.Layerpublic void composite()
BaseParticleSystem.Layer
composite in class BaseParticleSystem.Layerpublic void dispose()
SimpleScope
dispose in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||