lovr.audio.setOrientation

Sets the orientation of the virtual audio listener in angle/axis representation.

lovr.audio.setOrientation(angle, ax, ay, az)

Arguments

NameTypeDescription
anglenumberThe number of radians the listener should be rotated around its rotation axis.
axnumberThe x component of the axis of rotation.
aynumberThe y component of the axis of rotation.
aznumberThe z component of the axis of rotation.

Returns

Nothing

See also