summaryrefslogtreecommitdiff
path: root/modules/vorbis
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-04-25 19:36:48 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-05-26 20:53:07 +0200
commit93933e408568d647bf294351b6a622944df0321b (patch)
tree121d8ffeff9ba102d901c87a8cd64685ba478740 /modules/vorbis
parent2e8862887c07708ea0d4cb015902c3001ea6f495 (diff)
Add a gizmo to visualize AudioStreamPlayer3D's audible radius
The ring's color changes depending on the attenuation model chosen, and whether Max Distance is capping the distance the sound can be heard at. Cold colors are used when the volume cap is a "soft" cap (the sound can still be heard past the distance, but only faintly). Warm colors are used when the volume cap is a "hard" cap (the sound can't be heard past the distance at all). White is used for linear fade performed when the attenuation model is Disabled and Max Distance is greater than 0. No ring is drawn when the attenuation model is Disabled and Max Distance is equal to 0 (since the sound can be heard from anywhere).
Diffstat (limited to 'modules/vorbis')
0 files changed, 0 insertions, 0 deletions