AudioStreamPlayer: Clarify that no validation is made on 'bus' name

Supersedes #39605.
Fixes #39585.
This commit is contained in:
Rémi Verschelde
2022-07-08 09:33:25 +02:00
parent 6a34b038d5
commit eedb729771
3 changed files with 3 additions and 0 deletions
+1
View File
@@ -57,6 +57,7 @@
</member>
<member name="bus" type="StringName" setter="set_bus" getter="get_bus" default="&amp;&quot;Master&quot;">
Bus on which this audio is playing.
[b]Note:[/b] When setting this property, keep in mind that no validation is performed to see if the given name matches an existing bus. This is because audio bus layouts might be loaded after this property is set. If this given name can't be resolved at runtime, it will fall back to [code]"Master"[/code].
</member>
<member name="max_distance" type="float" setter="set_max_distance" getter="get_max_distance" default="2000.0">
Maximum distance from which audio is still hearable.