com.threerings.openal.config
Class SounderConfig.Fixed

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.Fixed
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Direct Known Subclasses:
SounderConfig.BaseClip, SounderConfig.BaseStream
Enclosing class:
SounderConfig

public abstract static class SounderConfig.Fixed
extends SounderConfig.Original

An original config with fixed fields.


Field Summary
 float gain
          The base gain (volume).
 float 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.Fixed()
           
 
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,
          hgroup="g",
          weight=-1.0)
public float gain
The base gain (volume).


pitch

@Editable(min=0.0,
          step=0.01,
          hgroup="g",
          weight=-1.0)
public float pitch
The pitch multiplier.

Constructor Detail

SounderConfig.Fixed

public SounderConfig.Fixed()
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.