Difference between revisions of "Source:setRelative"

(Created page)
 
m (Fixed)
Line 7: Line 7:
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===
None.
+
{{param|boolean|enable|True to make the position, velocity, direction and cone angles relative to the listener, false to make them absolute.}}
 
=== Returns ===
 
=== Returns ===
{{param|boolean|enable|True to make the position, velocity, direction and cone angles relative to the listener, false to make them absolute.}}
+
Nothing.
 
== See Also ==
 
== See Also ==
 
* [[parent::Source]]
 
* [[parent::Source]]

Revision as of 20:15, 25 October 2013

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Sets whether the Source's position, velocity, direction, and cone angles are relative to the listener.

Function

Synopsis

Source:setRelative( enable )

Arguments

boolean enable
True to make the position, velocity, direction and cone angles relative to the listener, false to make them absolute.

Returns

Nothing.

See Also

Other Languages