Package com.jme3.audio
Class LowPassFilter
java.lang.Object
com.jme3.util.NativeObject
com.jme3.audio.Filter
com.jme3.audio.LowPassFilter
-
Field Summary
Fields inherited from class com.jme3.util.NativeObject
handleRef, id, INVALID_ID, objectManager, OBJTYPE_AUDIOBUFFER, OBJTYPE_AUDIOSTREAM, OBJTYPE_BO, OBJTYPE_FILTER, OBJTYPE_FRAMEBUFFER, OBJTYPE_SHADER, OBJTYPE_SHADERSOURCE, OBJTYPE_TEXTURE, OBJTYPE_VERTEXBUFFER, updateNeeded
-
Constructor Summary
ModifierConstructorDescriptionLowPassFilter
(float volume, float highFreqVolume) protected
LowPassFilter
(int id) -
Method Summary
Modifier and TypeMethodDescriptionCreates a shallow clone of this GL Object.float
long
Returns a unique ID for this NativeObject.float
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, deleteNativeBuffers, dispose, getId, getWeakRef, isUpdateNeeded, setId, setUpdateNeeded, toString
-
Field Details
-
volume
protected float volume -
highFreqVolume
protected float highFreqVolume
-
-
Constructor Details
-
LowPassFilter
public LowPassFilter(float volume, float highFreqVolume) -
LowPassFilter
protected LowPassFilter(int id)
-
-
Method Details
-
getHighFreqVolume
public float getHighFreqVolume() -
setHighFreqVolume
public void setHighFreqVolume(float highFreqVolume) -
getVolume
public float getVolume() -
setVolume
public void setVolume(float volume) -
write
- Specified by:
write
in interfaceSavable
- Overrides:
write
in classFilter
- Throws:
IOException
-
read
- Specified by:
read
in interfaceSavable
- Overrides:
read
in classFilter
- Throws:
IOException
-
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 classFilter
- Returns:
- a new instance
-
getUniqueId
public long getUniqueId()Description copied from class:NativeObject
Returns a unique ID for this NativeObject. No other NativeObject shall have the same ID.- Specified by:
getUniqueId
in classNativeObject
- Returns:
- unique ID for this NativeObject.
-