| 1234567891011121314151617181920212223242526272829303132333435 |
- return {
- tag = 'sourceEffects',
- summary = 'Get the orientation of the Source.',
- description = 'Returns the orientation of the Source, in angle/axis representation.',
- arguments = {},
- returns = {
- angle = {
- type = 'number',
- description = 'The number of radians the Source is rotated around its axis of rotation.'
- },
- ax = {
- type = 'number',
- description = 'The x component of the axis of rotation.'
- },
- ay = {
- type = 'number',
- description = 'The y component of the axis of rotation.'
- },
- az = {
- type = 'number',
- description = 'The z component of the axis of rotation.'
- }
- },
- variants = {
- {
- arguments = {},
- returns = { 'angle', 'ax', 'ay', 'az' }
- }
- },
- related = {
- 'Source:getPosition',
- 'Source:getPose',
- 'lovr.audio.getOrientation'
- }
- }
|