Difference between revisions of "SoundChannel:setPosition"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the current playback position in miliseconds.<br /> <br /> <source lang="lua"> = SoundChan...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
+ | '''Class:''' [[SoundChannel]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Sets the current playback position in miliseconds. | |
− | Sets the current playback position in miliseconds. | + | <syntaxhighlight lang="lua"> |
− | < | + | SoundChannel:setPosition(position) |
− | + | </syntaxhighlight> | |
− | + | ||
− | </ | + | === Parameters === |
− | '''position | + | '''position''': (number) position of the channel to set in miliseconds<br/> |
+ | |||
+ | {{SoundChannel}} |
Latest revision as of 14:33, 13 July 2023
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