Doc > Nodes > OBJ > AudioListener
Creates an audio listener.
Description
You typically want to parent this under the camera.
Parameters
Name | Type | Description |
---|---|---|
soundOn | boolean | soundOn |
masterVolume | float | volume |
listenerTransformAutoUpdate | boolean | ensures the transform of the audio listener is updated on very frame |
keepPosWhenParenting | boolean | toggle on to keep world position when adding a parent or removing from one |
rotationOrder | integer | rotation order |
t | vector3 | translate |
r | vector3 | rotation |
s | vector3 | scale |
scale | float | scale |
matrixAutoUpdate | boolean | set for the matrix to be updated every frame |