com.jme3.niftygui
クラス SoundHandleJme
java.lang.Object
com.jme3.niftygui.SoundHandleJme
- すべての実装されたインタフェース:
- de.lessvoid.nifty.spi.sound.SoundHandle
public class SoundHandleJme
- extends java.lang.Object
- implements de.lessvoid.nifty.spi.sound.SoundHandle
クラス java.lang.Object から継承されたメソッド |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SoundHandleJme
public SoundHandleJme(AudioRenderer ar,
AudioNode node)
SoundHandleJme
public SoundHandleJme(AudioRenderer ar,
AssetManager am,
java.lang.String fileName)
- For streaming music only. (May need to loop..)
- パラメータ:
ar
- am
- fileName
-
play
public void play()
- 定義:
- インタフェース
de.lessvoid.nifty.spi.sound.SoundHandle
内の play
stop
public void stop()
- 定義:
- インタフェース
de.lessvoid.nifty.spi.sound.SoundHandle
内の stop
setVolume
public void setVolume(float f)
- 定義:
- インタフェース
de.lessvoid.nifty.spi.sound.SoundHandle
内の setVolume
getVolume
public float getVolume()
- 定義:
- インタフェース
de.lessvoid.nifty.spi.sound.SoundHandle
内の getVolume
isPlaying
public boolean isPlaying()
- 定義:
- インタフェース
de.lessvoid.nifty.spi.sound.SoundHandle
内の isPlaying
dispose
public void dispose()
- 定義:
- インタフェース
de.lessvoid.nifty.spi.sound.SoundHandle
内の dispose