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

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

public static class InfluenceConfig.Wind
extends InfluenceConfig

A varying acceleration influence.


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 direction
          The wind direction.
 boolean rotateWithEmitter
          Whether or not to rotate the wind vector with the emitter.
 float strength
          The wind strength.
 
Constructor Summary
InfluenceConfig.Wind()
           
 
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

direction

@Editable(mode="normalized")
public Vector3f direction
The wind direction.


strength

@Editable(min=0.0,
          step=0.01)
public float strength
The wind strength.


rotateWithEmitter

@Editable
public boolean rotateWithEmitter
Whether or not to rotate the wind vector with the emitter.

Constructor Detail

InfluenceConfig.Wind

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