Difference between revisions of "Sound:getLength"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sound|Sound]]<br/>
+
'''Class:''' [[Sound]]<br/>
=== <translate>Description</translate> ===
+
 
<translate><br />
+
=== Description ===
Returns the duration of the sound in milliseconds.<br />
+
Returns the duration of the sound in milliseconds.
<br /></translate>
+
<syntaxhighlight lang="lua">
<source lang="lua">
 
 
(number) = Sound:getLength()
 
(number) = Sound:getLength()
</source>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>The duration of the sound in milliseconds.</translate><br/>
+
=== Return values ===
 +
'''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