public interface ISound extends IAsset
| Modifier and Type | Field and Description |
|---|---|
static ResourceName |
ID |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<java.lang.Integer> |
getPlayingSourceIds() |
boolean |
isIndexPlaying(int index) |
boolean |
isPlaying() |
void |
play() |
void |
play(float pitch,
float volume) |
void |
play(float pitch,
float volume,
boolean loop) |
void |
playAt(double x,
double y,
double z) |
void |
playAt(float pitch,
float volume,
double x,
double y,
double z) |
void |
playAt(float pitch,
float volume,
double x,
double y,
double z,
boolean loop) |
void |
playAt(float pitch,
float volume,
double x,
double y,
double z,
boolean loop,
float rolloffFactor,
float refDistance,
float maxDistance) |
void |
stop() |
void |
stopIndex(int index) |
disposestatic final ResourceName ID
void play()
void play(float pitch,
float volume)
void play(float pitch,
float volume,
boolean loop)
void playAt(double x,
double y,
double z)
void playAt(float pitch,
float volume,
double x,
double y,
double z)
void playAt(float pitch,
float volume,
double x,
double y,
double z,
boolean loop)
void playAt(float pitch,
float volume,
double x,
double y,
double z,
boolean loop,
float rolloffFactor,
float refDistance,
float maxDistance)
@ApiInternal boolean isIndexPlaying(int index)
boolean isPlaying()
void stop()
@ApiInternal void stopIndex(int index)
@ApiInternal java.util.Set<java.lang.Integer> getPlayingSourceIds()