com.threerings.opengl.effect.config
Class InfluenceConfig.CylindricalVortex
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.effect.config.InfluenceConfig
com.threerings.opengl.effect.config.InfluenceConfig.CylindricalVortex
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- InfluenceConfig
public static class InfluenceConfig.CylindricalVortex
- extends InfluenceConfig
Spins particles around an axis.
axis
@Editable(mode="normalized")
public Vector3f axis
- The vortex axis.
strength
@Editable(step=0.01)
public float strength
- The strength of the vortex.
divergence
@Editable(min=-90.0,
max=90.0,
scale=0.017453292519943295)
public float divergence
- The divergence angle.
rotateWithEmitter
@Editable
public boolean rotateWithEmitter
- Whether or not to rotate the axis with the emitter.
InfluenceConfig.CylindricalVortex
public InfluenceConfig.CylindricalVortex()
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.