| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- return {
- summary = 'Get the pose of the Source.',
- description = 'Returns the position and orientation of the Source.',
- arguments = {},
- returns = {
- {
- name = 'x',
- type = 'number',
- description = 'The x position of the Source, in meters.'
- },
- {
- name = 'y',
- type = 'number',
- description = 'The y position of the Source, in meters.'
- },
- {
- name = 'z',
- type = 'number',
- description = 'The z position of the Source, in meters.'
- },
- {
- name = 'angle',
- type = 'number',
- description = 'The number of radians the Source is rotated around its axis of rotation.'
- },
- {
- name = 'ax',
- type = 'number',
- description = 'The x component of the axis of rotation.'
- },
- {
- name = 'ay',
- type = 'number',
- description = 'The y component of the axis of rotation.'
- },
- {
- name = 'az',
- type = 'number',
- description = 'The z component of the axis of rotation.'
- }
- },
- related = {
- 'Source:getPosition',
- 'Source:getOrientation',
- 'Source:getCone',
- 'lovr.audio.getPose'
- }
- }
|