com.threerings.opengl.effect.config
Class InfluenceConfig.LinearDrag
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.effect.config.InfluenceConfig
com.threerings.opengl.effect.config.InfluenceConfig.LinearDrag
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- InfluenceConfig
public static class InfluenceConfig.LinearDrag
- extends InfluenceConfig
An influence representing the resistance to a particle's motion in proportion to 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.LinearDrag
public InfluenceConfig.LinearDrag()
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.