public class Listener extends Object
| Modifier and Type | Method and Description |
|---|---|
float |
getPositionX()
Returns the x component of the listener's position.
|
float |
getPositionY()
Returns the y component of the listener's position.
|
float |
getPositionZ()
Returns the z component of the listener's position.
|
void |
setGain(float gain)
Sets the gain of the listener.
|
void |
setOrientation(float ax,
float ay,
float az,
float ux,
float uy,
float uz)
Sets the orientation of the listener in terms of an "at" (direction) and "up" vector.
|
void |
setPosition(float x,
float y,
float z)
Sets the position of the listener.
|
void |
setVelocity(float x,
float y,
float z)
Sets the velocity of the listener.
|
public void setPosition(float x,
float y,
float z)
public float getPositionX()
public float getPositionY()
public float getPositionZ()
public void setVelocity(float x,
float y,
float z)
public void setGain(float gain)
public void setOrientation(float ax,
float ay,
float az,
float ux,
float uy,
float uz)
Copyright © 2015. All rights reserved.