Difference between revisions of "love.audio.getPosition"
(Corrected return parameters) |
|||
Line 3: | Line 3: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | x, y, z = love.audio.getPosition( ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param| | + | {{param|number|x|The listener position along the x-axis.}} |
+ | {{param|number|y|The listener position along the y-axis.}} | ||
+ | {{param|number|z|The listener position along the z-axis.}} | ||
== See Also == | == See Also == | ||
* [[parent::love.audio]] | * [[parent::love.audio]] |
Revision as of 19:17, 1 February 2011
Returns the position of the listener.
Function
Synopsis
x, y, z = love.audio.getPosition( )
Arguments
None.
Returns
number x
- The listener position along the x-axis.
number y
- The listener position along the y-axis.
number z
- The listener position along the z-axis.
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