com.jme.sound.fmod.objects
Class Sample3D
java.lang.Object
com.jme.sound.fmod.scene.Playable
com.jme.sound.fmod.scene.SoundSpatial
com.jme.sound.fmod.objects.Sample3D
- public class Sample3D
- extends SoundSpatial
- Author:
- Arman
|
Constructor Summary |
Sample3D(Listener listener,
java.lang.String file,
int renderMethod)
|
Sample3D(java.lang.String file)
|
| Methods inherited from class com.jme.sound.fmod.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 |
METHOD_PAUSE
public static final int METHOD_PAUSE
- See Also:
- Constant Field Values
METHOD_STOP
public static final int METHOD_STOP
- See Also:
- Constant Field Values
METHOD_MUTE
public static final int METHOD_MUTE
- See Also:
- Constant Field Values
Sample3D
public Sample3D(java.lang.String file)
Sample3D
public Sample3D(Listener listener,
java.lang.String file,
int renderMethod)
setConfiguration
public void setConfiguration(Configuration conf)
setRenderMethod
public void setRenderMethod(int method)
draw
public void draw()
- Specified by:
draw in class SoundSpatial
play
public boolean play()
pause
public boolean pause()
isPaused
public boolean isPaused()
stop
public boolean stop()
isPlaying
public boolean isPlaying()
mute
public void mute()
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(int 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