com.threerings.opengl.effect.config
Class CounterConfig.ConstantRate

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.effect.config.CounterConfig
          extended by com.threerings.opengl.effect.config.CounterConfig.ConstantRate
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
CounterConfig

public static class CounterConfig.ConstantRate
extends CounterConfig

Releases particles at a constant rate.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.threerings.opengl.effect.config.CounterConfig
CounterConfig.ConstantRate, CounterConfig.RandomIntervals, CounterConfig.Unlimited
 
Field Summary
 float rate
          The number of particles to release every second.
 
Constructor Summary
CounterConfig.ConstantRate()
           
 
Method Summary
 Counter createCounter()
          Creates the counter corresponding to this config.
 
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

rate

@Editable(min=0.0,
          step=0.1)
public float rate
The number of particles to release every second.

Constructor Detail

CounterConfig.ConstantRate

public CounterConfig.ConstantRate()
Method Detail

createCounter

public Counter createCounter()
Description copied from class: CounterConfig
Creates the counter corresponding to this config.

Specified by:
createCounter in class CounterConfig


Copyright © 2011. All Rights Reserved.