W3cubDocs

/LÖVE

Source:isRelative

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

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

Function

Synopsis

relative = Source:isRelative( )

Arguments

None.

Returns

boolean relative
True if the position, velocity, direction and cone angles are relative to the listener, false if they're absolute.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Source:isRelative