Difference between revisions of "Sound:getLength"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Returns the duration of the sound in milliseconds.<br /> <br /> <source lang="lua"> (number), =...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
| (9 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
| + | '''Class:''' [[Sound]]<br/> | ||
| + | |||
=== Description === | === Description === | ||
| − | + | Returns the duration of the sound in milliseconds. | |
| − | Returns the duration of the sound in milliseconds. | + | <syntaxhighlight lang="lua"> |
| − | < | + | (number) = Sound:getLength() |
| − | + | </syntaxhighlight> | |
| − | (number) | + | |
| − | </ | + | === Return values === |
| − | '''Returns''' (number) | + | '''Returns''' (number) the duration of the sound in milliseconds<br/> |
| + | |||
| + | {{Sound}} | ||
Latest revision as of 14:32, 13 July 2023
Available since: Gideros 2011.6
Class: Sound
Description
Returns the duration of the sound in milliseconds.
(number) = Sound:getLength()
Return values
Returns (number) the duration of the sound in milliseconds