com.jme3.audio
Class LowPassFilter

java.lang.Object
  extended by com.jme3.util.NativeObject
      extended by com.jme3.audio.Filter
          extended by com.jme3.audio.LowPassFilter
All Implemented Interfaces:
Savable, java.lang.Cloneable

public class LowPassFilter
extends Filter


Field Summary
protected  float highFreqVolume
           
protected  float volume
           
 
Fields inherited from class com.jme3.util.NativeObject
handleRef, id, type, updateNeeded
 
Constructor Summary
  LowPassFilter(float volume, float highFreqVolume)
           
protected LowPassFilter(int id)
           
 
Method Summary
 NativeObject createDestructableClone()
          Creates a shallow clone of this GL Object.
 float getHighFreqVolume()
           
 float getVolume()
           
 void read(JmeImporter im)
           
 void setHighFreqVolume(float highFreqVolume)
           
 void setVolume(float volume)
           
 void write(JmeExporter ex)
           
 
Methods inherited from class com.jme3.audio.Filter
deleteObject, resetObject
 
Methods inherited from class com.jme3.util.NativeObject
clearUpdateNeeded, clone, getId, isUpdateNeeded, setId, setUpdateNeeded, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

volume

protected float volume

highFreqVolume

protected float highFreqVolume
Constructor Detail

LowPassFilter

public LowPassFilter(float volume,
                     float highFreqVolume)

LowPassFilter

protected LowPassFilter(int id)
Method Detail

getHighFreqVolume

public float getHighFreqVolume()

setHighFreqVolume

public void setHighFreqVolume(float highFreqVolume)

getVolume

public float getVolume()

setVolume

public void setVolume(float volume)

write

public void write(JmeExporter ex)
           throws java.io.IOException
Specified by:
write in interface Savable
Overrides:
write in class Filter
Throws:
java.io.IOException

read

public void read(JmeImporter im)
          throws java.io.IOException
Specified by:
read in interface Savable
Overrides:
read in class Filter
Throws:
java.io.IOException

createDestructableClone

public NativeObject createDestructableClone()
Description copied from class: NativeObject
Creates a shallow clone of this GL Object. The deleteObject method should be functional for this object.

Specified by:
createDestructableClone in class Filter