com.threerings.opengl.effect.config
Class PlacerConfig.SimplePlacer
java.lang.Object
com.threerings.opengl.effect.config.PlacerConfig.SimplePlacer
- All Implemented Interfaces:
- Placer
- Enclosing class:
- PlacerConfig
protected abstract static class PlacerConfig.SimplePlacer
- extends Object
- implements Placer
Base class for simple emitter space placers.
|
Method Summary |
void |
place(Particle particle)
Configures the supplied particle with an initial position. |
protected abstract Vector3f |
place(Vector3f position)
Sets the position in emitter space. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_layer
protected BaseParticleSystem.Layer _layer
- The owning layer.
PlacerConfig.SimplePlacer
public PlacerConfig.SimplePlacer(BaseParticleSystem.Layer layer)
place
public void place(Particle particle)
- Description copied from interface:
Placer
- Configures the supplied particle with an initial position.
- Specified by:
place in interface Placer
place
protected abstract Vector3f place(Vector3f position)
- Sets the position in emitter space.
- Returns:
- a reference to the position point, for chaining.