|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface DistanceModel
Interface representing an algorythm for computing the actual sound volume corresponding to a given distance and reference distance.
| Field Summary | |
|---|---|
static DistanceModel |
DEFAULT
|
static DistanceModel |
EXPONENTIAL
|
static DistanceModel |
LINEAR
|
| Method Summary | |
|---|---|
float |
getVolume(float distance,
float reference)
|
| Field Detail |
|---|
static final DistanceModel EXPONENTIAL
static final DistanceModel LINEAR
static final DistanceModel DEFAULT
| Method Detail |
|---|
float getVolume(float distance,
float reference)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||