Difference between revisions of "love.audio.getOrientation"
m (1 revision: Imported docs from potato.) |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Returns the orientation of the listener. | |
− | |||
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | fx, fy, fz, ux, uy, uz = love.audio.getOrientation( ) | |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
None. | None. | ||
=== Returns === | === Returns === | ||
− | {{param| | + | {{param|number|fx, fy, fz|Forward vector of the listener orientation.}} |
+ | {{param|number|ux, uy, uz|Up vector of the listener orientation.}} | ||
== See Also == | == See Also == | ||
* [[parent::love.audio]] | * [[parent::love.audio]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Returns the orientation of the listener.}} |
+ | {{#set:Since=000}} | ||
+ | == Other Languages == | ||
+ | {{i18n|love.audio.getOrientation}} |
Latest revision as of 09:27, 25 March 2011
Returns the orientation of the listener.
Function
Synopsis
fx, fy, fz, ux, uy, uz = love.audio.getOrientation( )
Arguments
None.
Returns
number fx, fy, fz
- Forward vector of the listener orientation.
number ux, uy, uz
- Up vector of the listener orientation.
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