|
||||||||||
| 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
public abstract static class BaseParticleSystem.Layer
A single layer of the system.
| Field Summary |
|---|
| Fields inherited from interface com.threerings.expr.Scope |
|---|
EPOCH, NOW |
| Constructor Summary | |
|---|---|
BaseParticleSystem.Layer(GlContext ctx,
Scope parentScope)
Creates a new layer. |
|
| Method Summary | |
|---|---|
abstract void |
composite()
Composites the layer for rendering. |
void |
drawBounds()
Draws the bounds of the layer. |
Camera |
getCamera()
Returns a reference to the camera. |
BaseParticleSystemConfig.Layer |
getConfig()
Returns a reference to the layer's config. |
String |
getScopeName()
Returns the name of this scope for purposes of qualification. |
Vector3f |
pointToLayer(Vector3f point,
boolean emitter)
Transforms a point in-place from world space or emitter space into the space of the layer (either world space or emitter space, depending on the value of BaseParticleSystemConfig.Layer.moveParticlesWithEmitter). |
void |
reset()
Resets the state of the layer. |
Quaternion |
rotationToLayer(Quaternion rot,
boolean emitter)
Transforms a rotation in-place from world space or emitter space into the space of the layer (either world space or emitter space, depending on the value of BaseParticleSystemConfig.Layer.moveParticlesWithEmitter). |
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. |
Vector3f |
vectorToLayer(Vector3f vector,
boolean emitter)
Transforms a vector in-place from world space or emitter space into the space of the layer (either world space or emitter space, depending on the value of BaseParticleSystemConfig.Layer.moveParticlesWithEmitter). |
| Methods inherited from class com.threerings.expr.SimpleScope |
|---|
addListener, dispose, get, getParentScope, removeListener, scopeUpdated |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseParticleSystem.Layer(GlContext ctx,
Scope parentScope)
| Method Detail |
|---|
public void setConfig(BaseParticleSystemConfig.Layer config)
public BaseParticleSystemConfig.Layer getConfig()
public Camera getCamera()
public void reset()
public boolean tick(float elapsed)
public Vector3f pointToLayer(Vector3f point,
boolean emitter)
BaseParticleSystemConfig.Layer.moveParticlesWithEmitter).
emitter - if true, transform from emitter space (else from world space).
public Vector3f vectorToLayer(Vector3f vector,
boolean emitter)
BaseParticleSystemConfig.Layer.moveParticlesWithEmitter).
emitter - if true, transform from emitter space (else from world space).
public Quaternion rotationToLayer(Quaternion rot,
boolean emitter)
BaseParticleSystemConfig.Layer.moveParticlesWithEmitter).
emitter - if true, transform from emitter space (else from world space).
public void drawBounds()
public abstract void composite()
public String getScopeName()
Scopenull
if qualified symbols cannot specifically address this scope.
getScopeName in interface ScopegetScopeName in class SimpleScope
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||