SoundChannel:getVolume: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | |||
''' | '''Class:''' [[SoundChannel]]<br/> | ||
''' | |||
=== | === Description === | ||
Returns the current volume of the sound channel. | |||
Returns the current volume of the sound channel. | |||
<source lang="lua"> | <source lang="lua"> | ||
(number) = SoundChannel:getVolume() | (number) = SoundChannel:getVolume() | ||
</source> | </source> | ||
=== | |||
''' | === Return values === | ||
'''Returns''' (number) the current volume of the sound channel<br/> | |||
{{SoundChannel}} | {{SoundChannel}} | ||
Revision as of 07:01, 5 September 2021
Available since: Gideros 2011.6
Class: SoundChannel
Description
Returns the current volume of the sound channel.
(number) = SoundChannel:getVolume()
Return values
Returns (number) the current volume of the sound channel
- SoundChannel:getPitch
- SoundChannel:getPosition
- SoundChannel:getStreamId
- SoundChannel:getVolume
- SoundChannel:isLooping
- SoundChannel:isPaused
- SoundChannel:isPlaying
- SoundChannel:setEffect
- SoundChannel:setLooping
- SoundChannel:setPaused
- SoundChannel:setPitch
- SoundChannel:setPosition
- SoundChannel:setVolume
- SoundChannel:setWorldPosition
- SoundChannel:stop