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 ===
<translate><br />
+
Returns the duration of the sound in milliseconds.
Returns the duration of the sound in milliseconds.<br />
+
<syntaxhighlight lang="lua">
<br /></translate>
 
<source lang="lua">
 
 
(number) = Sound:getLength()
 
(number) = Sound:getLength()
</source>
+
</syntaxhighlight>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) <translate>The duration of the sound in milliseconds.</translate><br/>
+
'''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