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

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

public static class InfluenceConfig.Gravity
extends InfluenceConfig

A constant 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 acceleration
          The gravity acceleration vector.
 boolean rotateWithEmitter
          Whether or not to rotate the acceleration vector with the emitter.
 
Constructor Summary
InfluenceConfig.Gravity()
           
 
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

acceleration

@Editable(step=0.1)
public Vector3f acceleration
The gravity acceleration vector.


rotateWithEmitter

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

Constructor Detail

InfluenceConfig.Gravity

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