|
|||||||||
| 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.ParticleSystem.Layer
public static class ParticleSystem.Layer
A single layer of the system.
| Field Summary | |
|---|---|
protected Vector3f |
_center
The layer center. |
protected boolean |
_ownTransformState
Whether or not we're using a transform state of our own (as opposed to inheriting). |
protected Surface |
_surface
The layer surface. |
protected TransformState |
_transformState
The shared transform state. |
| Fields inherited from class com.threerings.opengl.effect.BaseParticleSystem.Layer |
|---|
_bounds, _colorState, _completed, _config, _counter, _ctx, _geometryRadius, _influences, _living, _parentBounds, _parentViewTransform, _parentWorldTransform, _particles, _placer, _preliving, _shooter, _total, _worldTransform, _worldTransformInv, _wrot |
| Fields inherited from class com.threerings.expr.SimpleScope |
|---|
_parentScope |
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
ParticleSystem.Layer(GlContext ctx,
Scope parentScope,
BaseParticleSystemConfig.Layer config)
Creates a new layer. |
|
| Method Summary | |
|---|---|
protected void |
addBounds()
Adds this layer's bounds to those of its parent. |
void |
composite()
Composites the layer for rendering. |
void |
dispose()
Releases the resources associated with this scope. |
void |
enqueue()
Enqueues this object for rendering. |
protected void |
initParticle(int idx)
Initializes the particle at the specified index. |
void |
setConfig(BaseParticleSystemConfig.Layer config)
Sets the layer's config. |
| Methods inherited from class com.threerings.opengl.effect.BaseParticleSystem.Layer |
|---|
drawBounds, getCamera, getConfig, getScopeName, pointToLayer, reset, rotationToLayer, swapParticles, tick, vectorToLayer |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@Scoped protected TransformState _transformState
@Scoped protected Vector3f _center
protected Surface _surface
protected boolean _ownTransformState
| Constructor Detail |
|---|
public ParticleSystem.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 void composite()
BaseParticleSystem.Layer
composite in class BaseParticleSystem.Layerpublic void dispose()
SimpleScope
dispose in class SimpleScopeprotected void initParticle(int idx)
BaseParticleSystem.Layer
initParticle in class BaseParticleSystem.Layerprotected void addBounds()
BaseParticleSystem.Layer
addBounds in class BaseParticleSystem.Layer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||