Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

AudioEffectAmplify

继承: AudioEffect < Resource < RefCounted < Object

向音频总线添加一个放大的音频效果。

描述

增加或减少通过音频总线传送的音量。

教程

属性

float

volume_db

0.0


属性说明

float volume_db = 0.0

  • void set_volume_db ( float value )

  • float get_volume_db ( )

以分贝为单位的放大量。正值使声音更响亮,负值使声音更安静。数值范围从 -80 到 24。