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

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.ToroidalVortex
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
InfluenceConfig

public static class InfluenceConfig.ToroidalVortex
extends InfluenceConfig

Spins particles around a ring.


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 ring axis.
 float divergence
          The divergence angle.
 float height
          The height of the ring.
 float radius
          The radius of the ring.
 boolean rotateWithEmitter
          Whether or not to rotate the ring with the emitter.
 float strength
          The strength of the vortex.
 
Constructor Summary
InfluenceConfig.ToroidalVortex()
           
 
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 ring axis.


height

@Editable(step=0.01)
public float height
The height of the ring.


radius

@Editable(min=0.0,
          step=0.01)
public float radius
The radius of the ring.


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 ring with the emitter.

Constructor Detail

InfluenceConfig.ToroidalVortex

public InfluenceConfig.ToroidalVortex()
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.