com.threerings.opengl.effect.config
Class InfluenceConfig

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.config.InfluenceConfig
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
InfluenceConfig.AngularAcceleration, InfluenceConfig.CylindricalVortex, InfluenceConfig.Gravity, InfluenceConfig.Jitter, InfluenceConfig.LinearDrag, InfluenceConfig.QuadraticDrag, InfluenceConfig.ToroidalVortex, InfluenceConfig.Wander, InfluenceConfig.Wind

@EditorTypes(value={InfluenceConfig.Gravity.class,InfluenceConfig.Wind.class,InfluenceConfig.LinearDrag.class,InfluenceConfig.QuadraticDrag.class,InfluenceConfig.CylindricalVortex.class,InfluenceConfig.ToroidalVortex.class,InfluenceConfig.Wander.class,InfluenceConfig.Jitter.class,InfluenceConfig.AngularAcceleration.class})
public abstract class InfluenceConfig
extends DeepObject
implements Exportable

Modifies the state of a set of particles.


Nested Class Summary
static class InfluenceConfig.AngularAcceleration
          Applies an angular acceleration.
static class InfluenceConfig.CylindricalVortex
          Spins particles around an axis.
static class InfluenceConfig.Gravity
          A constant acceleration influence.
static class InfluenceConfig.Jitter
          Makes particles wander around randomly.
static class InfluenceConfig.LinearDrag
          An influence representing the resistance to a particle's motion in proportion to its speed.
static class InfluenceConfig.QuadraticDrag
          An influence representing the resistance to a particle's motion in proportion to the square of its speed.
static class InfluenceConfig.ToroidalVortex
          Spins particles around a ring.
static class InfluenceConfig.Wander
          Makes particles wander around randomly.
static class InfluenceConfig.Wind
          A varying acceleration influence.
 
Constructor Summary
InfluenceConfig()
           
 
Method Summary
abstract  Influence createInfluence(BaseParticleSystem.Layer layer)
          Creates the influence corresponding to this config for the specified layer.
 
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
 

Constructor Detail

InfluenceConfig

public InfluenceConfig()
Method Detail

createInfluence

public abstract Influence createInfluence(BaseParticleSystem.Layer layer)
Creates the influence corresponding to this config for the specified layer.



Copyright © 2011. All Rights Reserved.