SoundChannel:getPitch: Difference between revisions
From GiderosMobile
No edit summary |
removed language stuff. Is "any" double normal? |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2012.09.3<br/> | |||
''' | '''Class:''' [[SoundChannel]]<br/> | ||
''' | |||
=== | === Description === | ||
Returns the current pitch of the sound channel (original pitch is 1). | |||
Returns the current pitch of the sound channel | |||
<source lang="lua"> | <source lang="lua"> | ||
(any), (any) = SoundChannel:getPitch() | (any), (any) = SoundChannel:getPitch() | ||
</source> | </source> | ||
=== | |||
''' | === Return values === | ||
''' | '''Returns''' (any) the current pitch of the sound channel<br/> | ||
'''Returns''' (any) the current pitch of the sound channel<br/> | |||
{{SoundChannel}} | {{SoundChannel}} | ||
Revision as of 23:22, 2 September 2021
Available since: Gideros 2012.09.3
Class: SoundChannel
Description
Returns the current pitch of the sound channel (original pitch is 1).
(any), (any) = SoundChannel:getPitch()
Return values
Returns (any) the current pitch of the sound channel
Returns (any) the current pitch 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