Difference between revisions of "SoundChannel:getVolume"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | ''' | + | '''Available since:''' Gideros 2011.6<br/> |
− | === | + | '''Class:''' [[SoundChannel]]<br/> |
− | + | ||
− | Returns the current volume of the sound channel. | + | === Description === |
− | + | Returns the current volume of the sound channel. | |
− | < | + | <syntaxhighlight lang="lua"> |
(number) = SoundChannel:getVolume() | (number) = SoundChannel:getVolume() | ||
− | </ | + | </syntaxhighlight> |
− | === | + | |
− | ''' | + | === Return values === |
+ | '''Returns''' (number) the current volume of the sound channel<br/> | ||
+ | |||
+ | {{SoundChannel}} |
Latest revision as of 14:32, 13 July 2023
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