Difference between revisions of "SoundChannel:getPitch"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09.3<br/> === Description === <br /> Returns the current pitch of the sound channel. (Original pitch is 1)<br /> <br /> <source l...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2012.09.3<br/> | '''Available since:''' Gideros 2012.09.3<br/> | ||
+ | '''Class:''' [[SoundChannel]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Returns the current pitch of the sound channel (original pitch is 1). | |
− | Returns the current pitch of the sound channel | + | <syntaxhighlight lang="lua"> |
− | + | (any), (any) = SoundChannel:getPitch() | |
− | < | + | </syntaxhighlight> |
− | (any) (any) | + | |
− | </ | + | === Return values === |
− | '''Returns''' (any) | + | '''Returns''' (any) the current pitch of the sound channel<br/> |
− | '''Returns''' (any) | + | '''Returns''' (any) the current pitch of the sound channel<br/> |
+ | |||
+ | {{SoundChannel}} |
Latest revision as of 14:31, 13 July 2023
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