public class AudioEmitter
extends java.lang.Object
Constructor and Description |
---|
AudioEmitter()
Initializes a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
float |
getDopplerScale()
Gets a scalar applied to the level of Doppler effect calculated between this and any AudioListener.
|
Vector3 |
getForward()
Gets the forward orientation vector for this emitter.
|
Vector3 |
getPosition()
Gets the position of this emitter.
|
Vector3 |
getUp()
Gets the upward orientation vector for this emitter.
|
Vector3 |
getVelocity()
Gets the velocity vector of this emitter.
|
void |
setDopplerScale(float value)
Sets a scalar applied to the level of Doppler effect calculated between this and any AudioListener.
|
void |
setForward(Vector3 value)
Sets the forward orientation vector for this emitter.
|
void |
setPosition(Vector3 value)
Sets the position of this emitter.
|
void |
setUp(Vector3 value)
Sets the upward orientation vector for this emitter.
|
void |
setVelocity(Vector3 value)
Sets the velocity vector of this emitter.
|
public float getDopplerScale()
public void setDopplerScale(float value)
public Vector3 getForward()
public void setForward(Vector3 value)
public Vector3 getPosition()
public void setPosition(Vector3 value)
public Vector3 getUp()
public void setUp(Vector3 value)
public Vector3 getVelocity()
public void setVelocity(Vector3 value)