com.threerings.opengl.effect.config
Class InfluenceConfig.Gravity
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.effect.config.InfluenceConfig
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.
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.
InfluenceConfig.Gravity
public InfluenceConfig.Gravity()
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.