Difference between revisions of "Source:seek"
(Created page with "{{newin|0.8.0}} Sets the currently playing position of the Source. == Function == === Synopsis === <source lang="lua"> Source:seek( offset, unit ) </source> === Arguments ===...") |
m |
||
Line 8: | Line 8: | ||
=== Arguments === | === Arguments === | ||
{{param|number|offset|The new position for the Source to play from.}} | {{param|number|offset|The new position for the Source to play from.}} | ||
− | {{param|TimeUnit ("seconds") | + | {{param|TimeUnit|unit ("seconds")|The unit of the offset value.}} |
=== Returns === | === Returns === | ||
Nothing. | Nothing. |
Revision as of 02:05, 20 March 2011
Available since LÖVE 0.8.0 |
It is not supported in earlier versions. |
Sets the currently playing position of the Source.
Function
Synopsis
Source:seek( offset, unit )
Arguments
number offset
- The new position for the Source to play from.
TimeUnit unit ("seconds")
- The unit of the offset value.
Returns
Nothing.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info