SoundChannel:setPosition: 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 === | ||
Sets the current playback position in miliseconds. | |||
Sets the current playback position in miliseconds. | |||
<source lang="lua"> | <source lang="lua"> | ||
SoundChannel:setPosition(position) | |||
</source> | </source> | ||
=== | |||
'''position''': (number) | === Parameters === | ||
'''position''': (number) position of the channel to set in miliseconds<br/> | |||
{{SoundChannel}} | {{SoundChannel}} | ||
Revision as of 06:56, 5 September 2021
Available since: Gideros 2011.6
Class: SoundChannel
Description
Sets the current playback position in miliseconds.
SoundChannel:setPosition(position)
Parameters
position: (number) position of the channel to set in miliseconds
- 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