Difference between revisions of "love.audio.setPosition"
(Removed my additions to the y and z properties because I can't confirm what I said (nor what I think they do).) |
(Removed inaccurate remark about WAV files being imported as stereo and not working correctly.) |
||
(4 intermediate revisions by 3 users not shown) | |||
Line 6: | Line 6: | ||
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
− | {{param|number|x|The x position of the listener | + | {{param|number|x|The x position of the listener.}} |
{{param|number|y|The y position of the listener.}} | {{param|number|y|The y position of the listener.}} | ||
{{param|number|z|The z position of the listener.}} | {{param|number|z|The z position of the listener.}} | ||
Line 13: | Line 13: | ||
== See Also == | == See Also == | ||
* [[parent::love.audio]] | * [[parent::love.audio]] | ||
+ | * [[Source:setPosition]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Sets the position of the listener.}} | {{#set:Description=Sets the position of the listener.}} | ||
+ | {{#set:Since=000}} | ||
== Other Languages == | == Other Languages == | ||
{{i18n|love.audio.setPosition}} | {{i18n|love.audio.setPosition}} |
Latest revision as of 20:57, 18 December 2018
Sets the position of the listener, which determines how sounds play.
Function
Synopsis
love.audio.setPosition( x, y, z )
Arguments
number x
- The x position of the listener.
number y
- The y position of the listener.
number z
- The z position of the listener.
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