com.jme.sound.openAL.objects
Class Sample3D
java.lang.Object
com.jme.sound.openAL.scene.Playable
com.jme.sound.openAL.scene.SoundSpatial
com.jme.sound.openAL.objects.Sample3D
- public class Sample3D
- extends SoundSpatial
- Author:
- Arman
| Methods inherited from class com.jme.sound.openAL.scene.Playable |
getFxChorusID, getFxCompressorID, getFxDistorsionID, getFxEchoID, getFxFlangerID, getFxGargleID, getFxI3DL2ReverbID, getFxMaxID, getFxParamEqID, getFxWavesReverbID, resetConfig, setFxChorusID, setFxCompressorID, setFxDistorsionID, setFxEchoID, setFxFlangerID, setFxGargleID, setFxI3DL2ReverbID, setFxMaxID, setFxParamEqID, setFxWavesReverbID |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Sample3D
public Sample3D(java.lang.String file)
Sample3D
public Sample3D(Listener listener,
java.lang.String file)
setConfiguration
public void setConfiguration(Configuration conf)
draw
public void draw()
- Specified by:
draw in class SoundSpatial
play
public boolean play()
pause
public boolean pause()
stop
public boolean stop()
isPlaying
public boolean isPlaying()
delete
public void delete()
setPosition
public void setPosition(float x,
float y,
float z)
setVelocity
public void setVelocity(float x,
float y,
float z)
setMinDistance
public void setMinDistance(int min)
setVolume
public void setVolume(float volume)
setMaxAudibleDistance
public void setMaxAudibleDistance(int max)
bindEvent
public void bindEvent(int eventNumber)
fireEvent
public boolean fireEvent(int eventNumber)
- Used internally for firing an event on this sound playing object.
- Specified by:
fireEvent in class SoundSpatial
- Returns:
- true if the event has been fired
and false if this sound does not "know" the event