mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2026-01-05 14:10:19 +03:00
Still only zh_CN for now. zh_TW is near 100% complete, but it has hundreds of validation errors which need to be fixed first.
207 lines
7.2 KiB
ReStructuredText
207 lines
7.2 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. DO NOT EDIT THIS FILE!!!
|
|
.. Generated automatically from Godot engine sources.
|
|
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
|
|
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/AudioEffectReverb.xml.
|
|
|
|
.. _class_AudioEffectReverb:
|
|
|
|
AudioEffectReverb
|
|
=================
|
|
|
|
**继承:** :ref:`AudioEffect<class_AudioEffect>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
|
|
|
向音频总线添加一个混响音频效果。
|
|
|
|
.. rst-class:: classref-introduction-group
|
|
|
|
描述
|
|
----
|
|
|
|
模拟房间、音乐厅、洞穴或开放空间等声学环境的声音。
|
|
|
|
.. rst-class:: classref-introduction-group
|
|
|
|
教程
|
|
----
|
|
|
|
- :doc:`音频总线 <../tutorials/audio/audio_buses>`
|
|
|
|
- `第三人称射击演示 <https://godotengine.org/asset-library/asset/678>`__
|
|
|
|
.. rst-class:: classref-reftable-group
|
|
|
|
属性
|
|
----
|
|
|
|
.. table::
|
|
:widths: auto
|
|
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`damping<class_AudioEffectReverb_property_damping>` | ``0.5`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`dry<class_AudioEffectReverb_property_dry>` | ``1.0`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`hipass<class_AudioEffectReverb_property_hipass>` | ``0.0`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`predelay_feedback<class_AudioEffectReverb_property_predelay_feedback>` | ``0.4`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`predelay_msec<class_AudioEffectReverb_property_predelay_msec>` | ``150.0`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`room_size<class_AudioEffectReverb_property_room_size>` | ``0.8`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`spread<class_AudioEffectReverb_property_spread>` | ``1.0`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
| :ref:`float<class_float>` | :ref:`wet<class_AudioEffectReverb_property_wet>` | ``0.5`` |
|
|
+---------------------------+------------------------------------------------------------------------------+-----------+
|
|
|
|
.. rst-class:: classref-section-separator
|
|
|
|
----
|
|
|
|
.. rst-class:: classref-descriptions-group
|
|
|
|
属性说明
|
|
--------
|
|
|
|
.. _class_AudioEffectReverb_property_damping:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **damping** = ``0.5``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_damping** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_damping** **(** **)**
|
|
|
|
定义虚拟房间墙壁的反射程度。值的范围是 0 到 1。
|
|
|
|
.. rst-class:: classref-item-separator
|
|
|
|
----
|
|
|
|
.. _class_AudioEffectReverb_property_dry:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **dry** = ``1.0``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_dry** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_dry** **(** **)**
|
|
|
|
原始声音的输出百分比。为 0 时,只输出修改后的声音。取值范围是 0 到 1。
|
|
|
|
.. rst-class:: classref-item-separator
|
|
|
|
----
|
|
|
|
.. _class_AudioEffectReverb_property_hipass:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **hipass** = ``0.0``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_hpf** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_hpf** **(** **)**
|
|
|
|
高通滤波器通过频率高于某一截止频率的信号,衰减频率低于截止频率的信号。数值范围为 0 到 1。
|
|
|
|
.. rst-class:: classref-item-separator
|
|
|
|
----
|
|
|
|
.. _class_AudioEffectReverb_property_predelay_feedback:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **predelay_feedback** = ``0.4``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_predelay_feedback** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_predelay_feedback** **(** **)**
|
|
|
|
预延迟的输出百分比。数值范围为 0 到 1。
|
|
|
|
.. rst-class:: classref-item-separator
|
|
|
|
----
|
|
|
|
.. _class_AudioEffectReverb_property_predelay_msec:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **predelay_msec** = ``150.0``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_predelay_msec** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_predelay_msec** **(** **)**
|
|
|
|
原始信号与混响信号早期反射之间的时间,以毫秒为单位。
|
|
|
|
.. rst-class:: classref-item-separator
|
|
|
|
----
|
|
|
|
.. _class_AudioEffectReverb_property_room_size:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **room_size** = ``0.8``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_room_size** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_room_size** **(** **)**
|
|
|
|
模拟房间的尺寸。越大表示回声越多。值的范围可以从 0 到 1。
|
|
|
|
.. rst-class:: classref-item-separator
|
|
|
|
----
|
|
|
|
.. _class_AudioEffectReverb_property_spread:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **spread** = ``1.0``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_spread** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_spread** **(** **)**
|
|
|
|
扩大或缩小混响尾音的立体声图像。1 表示完全扩大。值的范围是 0 到 1。
|
|
|
|
.. rst-class:: classref-item-separator
|
|
|
|
----
|
|
|
|
.. _class_AudioEffectReverb_property_wet:
|
|
|
|
.. rst-class:: classref-property
|
|
|
|
:ref:`float<class_float>` **wet** = ``0.5``
|
|
|
|
.. rst-class:: classref-property-setget
|
|
|
|
- void **set_wet** **(** :ref:`float<class_float>` value **)**
|
|
- :ref:`float<class_float>` **get_wet** **(** **)**
|
|
|
|
修改后声音的输出百分比。为 0 时,只输出原始声音。取值范围是 0 到 1。
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (本方法通常需要用户覆盖才能生效。)`
|
|
.. |const| replace:: :abbr:`const (本方法没有副作用。不会修改该实例的任何成员变量。)`
|
|
.. |vararg| replace:: :abbr:`vararg (本方法除了在此处描述的参数外,还能够继续接受任意数量的参数。)`
|
|
.. |constructor| replace:: :abbr:`constructor (本方法用于构造某个类型。)`
|
|
.. |static| replace:: :abbr:`static (调用本方法无需实例,所以可以直接使用类名调用。)`
|
|
.. |operator| replace:: :abbr:`operator (本方法描述的是使用本类型作为左操作数的有效操作符。)`
|
|
.. |bitfield| replace:: :abbr:`BitField (这个值是由下列标志构成的位掩码整数。)`
|