Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
AudioEffectAmplify
继承: AudioEffect < Resource < RefCounted < Object
向音频总线添加一个放大的音频效果。
描述
增加或减少通过音频总线传送的音量。
教程
属性
|
||
属性说明
以分贝为单位的放大量。正值使声音更响亮,负值使声音更安静。数值范围从 -80 到 24。
作为线性值的扩增量。
注意:该成员会帮助修改 volume_db。返回的值等价于使用 volume_db 调用 @GlobalScope.db_to_linear() 的结果。设置该成员等价于将 volume_db 设置为使用新值调用 @GlobalScope.linear_to_db() 的结果。