com.threerings.openal.config
Class SounderConfig.Variable
java.lang.Object
com.threerings.util.DeepObject
com.threerings.openal.config.SounderConfig.Implementation
com.threerings.openal.config.SounderConfig.Original
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.
|
Method Summary |
float |
getGain()
Returns the base gain (volume). |
float |
getPitch()
Returns the pitch multiplier. |
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.
SounderConfig.Variable
public SounderConfig.Variable()
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.