Source:setRelative

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

None.

Returns

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

See Also

Other Languages