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

Revision as of 23:40, 3 February 2021

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