Difference between revisions of "SoundChannel:getPitch"
From GiderosMobile
(removed language stuff. Is "any" double normal?) |
m (Text replacement - "<source" to "<syntaxhighlight") |
||
Line 5: | Line 5: | ||
=== Description === | === Description === | ||
Returns the current pitch of the sound channel (original pitch is 1). | Returns the current pitch of the sound channel (original pitch is 1). | ||
− | < | + | <syntaxhighlight lang="lua"> |
(any), (any) = SoundChannel:getPitch() | (any), (any) = SoundChannel:getPitch() | ||
</source> | </source> |
Revision as of 14:30, 13 July 2023
Available since: Gideros 2012.09.3
Class: SoundChannel
Description
Returns the current pitch of the sound channel (original pitch is 1). <syntaxhighlight lang="lua"> (any), (any) = SoundChannel:getPitch() </source>
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