com.threerings.opengl.effect.config
Class InfluenceConfig.QuadraticDrag
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.effect.config.InfluenceConfig
com.threerings.opengl.effect.config.InfluenceConfig.QuadraticDrag
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- InfluenceConfig
public static class InfluenceConfig.QuadraticDrag
- extends InfluenceConfig
An influence representing the resistance to a particle's motion in proportion to the square
of its speed.
|
Field Summary |
float |
amount
The amount of drag. |
amount
@Editable(min=0.0,
step=0.01)
public float amount
- The amount of drag.
InfluenceConfig.QuadraticDrag
public InfluenceConfig.QuadraticDrag()
createInfluence
public Influence createInfluence(BaseParticleSystem.Layer layer)
- Description copied from class:
InfluenceConfig
- Creates the influence corresponding to this config for the specified layer.
- Specified by:
createInfluence in class InfluenceConfig
Copyright © 2011. All Rights Reserved.