com.threerings.opengl.effect.config
Class InfluenceConfig.CylindricalVortex

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.config.InfluenceConfig
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.effect.config.InfluenceConfig
InfluenceConfig.AngularAcceleration, InfluenceConfig.CylindricalVortex, InfluenceConfig.Gravity, InfluenceConfig.Jitter, InfluenceConfig.LinearDrag, InfluenceConfig.QuadraticDrag, InfluenceConfig.ToroidalVortex, InfluenceConfig.Wander, InfluenceConfig.Wind
 
Field Summary
 Vector3f axis
          The vortex axis.
 float divergence
          The divergence angle.
 boolean rotateWithEmitter
          Whether or not to rotate the axis with the emitter.
 float strength
          The strength of the vortex.
 
Constructor Summary
InfluenceConfig.CylindricalVortex()
           
 
Method Summary
 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
 

Field Detail

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.

Constructor Detail

InfluenceConfig.CylindricalVortex

public InfluenceConfig.CylindricalVortex()
Method Detail

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.