| Modifier and Type | Method and Description |
|---|---|
| public float | Returns: the gain value.Gets the value of the gain, or volume of the audio in the environment relative to the listener. |
| public float[] | Returns: an array containing the orientation of the listener. The first 3 elements of the array contain the x,y,z up-vector, the second 3 elements contain the x,z,z look-at vector.Gets the orientation of the Listener in the Sound3D environment. |
| public Vec3f | Returns: a Vec3f object containing the x,y and z coordinates of Listener.Gets the position in (x-y-z coordinates) of the Listener in the Sound3D environment. |
| public Vec3f | Returns: a Vec3f object containing the velicity in x,y and z coordinates of Listener.Gets the velocity in (x-y-z coordinates) of the Listener in the Sound3D environment. |
| public void | setGain(final float
the gain, or volume gain)Sets the Gain, or volume of the audio in the environment relative to the listener |
| public void | setOrientation(final float[]
The first 3 elements of the array should contain
the x,y,z up-vector, the second 3 elements should contain the x,z,z
look-at vector. orientation)Sets the orientation of the Listener in the Sound3D environment. |
| public void | setPosition(final float
The position of the listener along the X-axis in the Sound3D
environment x, final float The position of the listener along the Y-axis in the Sound3D
environment y, final float The position of the listener along the Z-axis in the Sound3D
environment z)Sets the position in (x-y-z coordinates) of the Listener in the Sound3D environment. |
| public void | setPosition(final Vec3f
a Vec3f object containing the x,y and z coordinates of
Listener. position)Sets the position in (x-y-z coordinates) of the Listener in the Sound3D environment. |
| public void | setVelocity(final Vec3f
a Vec3f object containing the velicity in
x,y and z coordinates of Listener. velocity)Sets the velocity in (x-y-z coordinates) of the Listener in the Sound3D environment. |
| al | back to summary |
|---|---|
| private final AL al | |
| Listener | back to summary |
|---|---|
| pack-priv Listener(final AL al) | |
| getGain | back to summary |
|---|---|
| public float getGain() Gets the value of the gain, or volume of the audio in the environment relative to the listener.
| |
| getOrientation | back to summary |
|---|---|
| public float[] getOrientation() Gets the orientation of the Listener in the Sound3D environment. Orientation is expressed as "up" and "at" vectors.
| |
| getPosition | back to summary |
|---|---|
| public Vec3f getPosition() Gets the position in (x-y-z coordinates) of the Listener in the Sound3D environment.
| |
| getVelocity | back to summary |
|---|---|
| public Vec3f getVelocity() Gets the velocity in (x-y-z coordinates) of the Listener in the Sound3D environment. Used in determining doppler shift.
| |
| setGain | back to summary |
|---|---|
| public void setGain(final float gain) Sets the Gain, or volume of the audio in the environment relative to the listener
| |
| setOrientation | back to summary |
|---|---|
| public void setOrientation(final float[] orientation) Sets the orientation of the Listener in the Sound3D environment. Orientation is expressed as "up" and "at" vectors.
| |
| setPosition | back to summary |
|---|---|
| public void setPosition(final float x, final float y, final float z) Sets the position in (x-y-z coordinates) of the Listener in the Sound3D environment.
| |
| setPosition | back to summary |
|---|---|
| public void setPosition(final Vec3f position) Sets the position in (x-y-z coordinates) of the Listener in the Sound3D environment.
| |
| setVelocity | back to summary |
|---|---|
| public void setVelocity(final Vec3f velocity) Sets the velocity in (x-y-z coordinates) of the Listener in the Sound3D environment. Used in determining doppler shift.
| |