lovr.audio.getOrientation

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

angle, ax, ay, az = lovr.audio.getOrientation()

Arguments

None

Returns

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

See also