Difference between revisions of "SoundChannel:setVolume"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Sets the volume of the sound channel.<br /> | Sets the volume of the sound channel.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
SoundChannel:setVolume(volume) | SoundChannel:setVolume(volume) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''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) <translate>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.</translate> <br/> |
Revision as of 13:34, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the volume of the sound channel.
SoundChannel:setVolume(volume)
Parameters
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.