Difference between revisions of "Sound:getLength"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(6 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() | (number) = Sound:getLength() | ||
− | </ | + | </syntaxhighlight> |
+ | |||
=== Return values === | === 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