com.threerings.openal.config
Class SounderConfig.Variable

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.openal.config.SounderConfig.Implementation
          extended by com.threerings.openal.config.SounderConfig.Original
              extended by com.threerings.openal.config.SounderConfig.Variable
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
SounderConfig.VariableClip
Enclosing class:
SounderConfig

public abstract static class SounderConfig.Variable
extends SounderConfig.Original

An original config with variable fields.


Field Summary
 FloatVariable gain
          The base gain (volume).
 FloatVariable pitch
          The pitch multiplier.
 
Fields inherited from class com.threerings.openal.config.SounderConfig.Original
coneInnerAngle, coneOuterAngle, coneOuterGain, directional, maxDistance, maxGain, minGain, referenceDistance, rolloffFactor, sourceRelative
 
Constructor Summary
SounderConfig.Variable()
           
 
Method Summary
 float getGain()
          Returns the base gain (volume).
 float getPitch()
          Returns the pitch multiplier.
 
Methods inherited from class com.threerings.openal.config.SounderConfig.Implementation
getSounderImplementation, getUpdateReferences, getUpdateResources, invalidate
 
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

gain

@Editable(min=0.0,
          step=0.01,
          weight=-1.0)
public FloatVariable gain
The base gain (volume).


pitch

@Editable(min=0.0,
          step=0.01,
          weight=-1.0)
public FloatVariable pitch
The pitch multiplier.

Constructor Detail

SounderConfig.Variable

public SounderConfig.Variable()
Method Detail

getGain

public float getGain()
Description copied from class: SounderConfig.Original
Returns the base gain (volume).

Specified by:
getGain in class SounderConfig.Original

getPitch

public float getPitch()
Description copied from class: SounderConfig.Original
Returns the pitch multiplier.

Specified by:
getPitch in class SounderConfig.Original


Copyright © 2011. All Rights Reserved.