Difference between revisions of "love.audio.setOrientation"

 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
love.audio.setOrientation( v )
+
love.audio.setOrientation( fx, fy, fz, ux, uy, uz )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
{{param|floatArray|v|A float array of size 6 containing [x,y,z] for the forward vector, followed by [x,y,z] for the up vector.}}
+
{{param|number|fx, fy, fz|Forward vector of the listener orientation.}}
 +
{{param|number|ux, uy, uz|Up vector of the listener orientation.}}
 
=== Returns ===
 
=== Returns ===
 
Nothing.
 
Nothing.
Line 13: Line 14:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets the orientation of the listener.}}
 
{{#set:Description=Sets the orientation of the listener.}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|love.audio.setOrientation}}
 
{{i18n|love.audio.setOrientation}}

Latest revision as of 09:28, 25 March 2011

Sets the orientation of the listener.

Function

Synopsis

love.audio.setOrientation( fx, fy, fz, ux, uy, uz )

Arguments

number fx, fy, fz
Forward vector of the listener orientation.
number ux, uy, uz
Up vector of the listener orientation.

Returns

Nothing.

See Also


Other Languages