@Generated(value="org.realityforge.webtack")
@JsType(isNative=true,
namespace="<global>",
name="AudioListener")
public class AudioListener
extends JsObject
| Modifier | Constructor and Description |
|---|---|
protected |
AudioListener() |
| Modifier and Type | Method and Description |
|---|---|
AudioParam |
forwardX()
The forwardX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the forward direction the listener is pointing in.
|
AudioParam |
forwardY()
The forwardY read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the forward direction the listener is pointing in.
|
AudioParam |
forwardZ()
The forwardZ read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the forward direction the listener is pointing in.
|
AudioParam |
positionX()
The positionX read-only property of the AudioListener interface is an AudioParam representing the x position of the listener in 3D cartesian space.
|
AudioParam |
positionY()
The positionY read-only property of the AudioListener interface is an AudioParam representing the y position of the listener in 3D cartesian space.
|
AudioParam |
positionZ()
The positionZ read-only property of the AudioListener interface is an AudioParam representing the z position of the listener in 3D cartesian space.
|
void |
setOrientation(float x,
float y,
float z,
float xUp,
float yUp,
float zUp)
Void.
|
void |
setPosition(float x,
float y,
float z)
Void.
|
AudioParam |
upX()
The upX read-only property of the AudioListener interface is an AudioParam representing the x value of the direction vector defining the up direction the listener is pointing in.
|
AudioParam |
upY()
The upY read-only property of the AudioListener interface is an AudioParam representing the y value of the direction vector defining the up direction the listener is pointing in.
|
AudioParam |
upZ()
The upZ read-only property of the AudioListener interface is an AudioParam representing the z value of the direction vector defining the up direction the listener is pointing in.
|
assign, create, create, defineProperties, defineProperty, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toString_, valueOf_, values@JsProperty(name="forwardX") @Nonnull public AudioParam forwardX()
@JsProperty(name="forwardY") @Nonnull public AudioParam forwardY()
@JsProperty(name="forwardZ") @Nonnull public AudioParam forwardZ()
@JsProperty(name="positionX") @Nonnull public AudioParam positionX()
@JsProperty(name="positionY") @Nonnull public AudioParam positionY()
@JsProperty(name="positionZ") @Nonnull public AudioParam positionZ()
@JsProperty(name="upX") @Nonnull public AudioParam upX()
@JsProperty(name="upY") @Nonnull public AudioParam upY()
@JsProperty(name="upZ") @Nonnull public AudioParam upZ()
public void setOrientation(float x,
float y,
float z,
float xUp,
float yUp,
float zUp)
public void setPosition(float x,
float y,
float z)