Difference between revisions of "SoundChannel:setVolume"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the volume of the sound channel.<br /> <br /> <source lang="lua"> = SoundChannel:setVolume...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= SoundChannel:setVolume(volume,)
+
SoundChannel:setVolume(volume)
 
</source>
 
</source>
'''volume:''' (number) The new volume of the sound channel. Valid range of this parameter is between 0.0 and 1.0, where 1.0 is the maximum volume value. ''''''<br/>
+
'''volume''': (number) The new volume of the sound channel. Valid range of this parameter is between 0.0 and 1.0, where 1.0 is the maximum volume value. ''''''<br/>

Revision as of 11:21, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the volume of the sound channel.

 SoundChannel:setVolume(volume)

'volume: (number) The new volume of the sound channel. Valid range of this parameter is between 0.0 and 1.0, where 1.0 is the maximum volume value. '