setOrientation.lua 731 B

12345678910111213141516171819202122232425262728
  1. return {
  2. tag = 'listener',
  3. summary = 'Set the orientation of the listener.',
  4. description = 'Sets the orientation of the virtual audio listener in angle/axis representation.',
  5. arguments = {
  6. {
  7. name = 'angle',
  8. type = 'number',
  9. description = 'The number of radians the listener should be rotated around its rotation axis.'
  10. },
  11. {
  12. name = 'ax',
  13. type = 'number',
  14. description = 'The x component of the axis of rotation.'
  15. },
  16. {
  17. name = 'ay',
  18. type = 'number',
  19. description = 'The y component of the axis of rotation.'
  20. },
  21. {
  22. name = 'az',
  23. type = 'number',
  24. description = 'The z component of the axis of rotation.'
  25. }
  26. },
  27. returns = {}
  28. }