Package com.jme3.audio
Class LowPassFilter
java.lang.Object
com.jme3.util.NativeObject
com.jme3.audio.Filter
com.jme3.audio.LowPassFilter
-
Field Summary
FieldsFields 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
ConstructorsModifierConstructorDescriptionLowPassFilter(float volume, float highFreqVolume) protectedLowPassFilter(int id) -
Method Summary
Modifier and TypeMethodDescriptionCreates a shallow clone of this GL Object.floatlongReturns a unique ID for this NativeObject.floatvoidread(JmeImporter im) voidsetHighFreqVolume(float highFreqVolume) voidsetVolume(float volume) voidwrite(JmeExporter ex) Methods inherited from class com.jme3.audio.Filter
deleteObject, resetObjectMethods 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:
writein interfaceSavable- Overrides:
writein classFilter- Throws:
IOException
-
read
- Specified by:
readin interfaceSavable- Overrides:
readin classFilter- Throws:
IOException
-
createDestructableClone
Description copied from class:NativeObjectCreates a shallow clone of this GL Object. The deleteObject method should be functional for this object.- Specified by:
createDestructableClonein classFilter- Returns:
- a new instance
-
getUniqueId
public long getUniqueId()Description copied from class:NativeObjectReturns a unique ID for this NativeObject. No other NativeObject shall have the same ID.- Specified by:
getUniqueIdin classNativeObject- Returns:
- unique ID for this NativeObject.
-