getDuration.lua 339 B

12345678910111213141516
  1. return {
  2. summary = 'Get the duration of the Sound.',
  3. description = 'Returns the duration of the sound in seconds.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'duration',
  8. type = 'number',
  9. description = 'The duration of the Sound.'
  10. }
  11. },
  12. related = {
  13. 'Sound:getSampleCount',
  14. 'Source:getDuration'
  15. }
  16. }