W3cubDocs

/LÖVE

love.audio.setDopplerScale

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

Sets a global scale factor for velocity-based doppler effects. The default scale value is 1.

Function

Synopsis

love.audio.setDopplerScale( scale )

Arguments

number scale
The new doppler scale factor. The scale must be greater than 0.

Returns

Nothing.

See Also

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