lovr.audio.setOrientation
EditSets the orientation of the virtual audio listener in angle/axis representation.
Set the listener orientation using numbers.
Arguments
| Name | Type | Description |
| angle | number | The number of radians the listener should be rotated around its rotation axis. |
| ax | number | The x component of the axis of rotation. |
| ay | number | The y component of the axis of rotation. |
| az | number | The z component of the axis of rotation. |
Returns
Nothing
Set the listener orientation using a vector.
Arguments
| Name | Type | Description |
| orientation | Quat | The orientation of the listener. |
Returns
Nothing