Class LowPassFilter

All Implemented Interfaces:
Savable, Cloneable

public class LowPassFilter extends Filter
  • 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

      public void write(JmeExporter ex) throws IOException
      Specified by:
      write in interface Savable
      Overrides:
      write in class Filter
      Throws:
      IOException
    • read

      public void read(JmeImporter im) throws IOException
      Specified by:
      read in interface Savable
      Overrides:
      read in class Filter
      Throws:
      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
      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 class NativeObject
      Returns:
      unique ID for this NativeObject.