版本
menu
In the Environmental Curves tab of the Wwise Project Settings dialog, you can define the obstruction, occlusion, diffraction, and transmission settings for the sound objects for each platform in your project. 声障是指游戏几何空间中的对象(例如墙壁或立柱)部分遮挡声源与听者之间空间时的声学现象。Occlusion 是指游戏几何空间中的对象完全挡住了声源与听者之间的空间时的声学现象。Diffraction and transmission occur when using Spatial Audio Rooms and Portals or Spatial Audio Geometry.
游戏程序员通过编程的方法定义游戏的几何空间,在这种情况下可能就会产生声障和声笼条件。Wwise 自身不计算声障和声笼的程度。物理计算必须由游戏完成,并将结果传递给下面的函数: SetObjectObstructionAndOcclusion() 。
![]() | 备注 |
---|---|
声障和声笼设置可以与 Environmental Effect(环境效果)并行使用,根据音源的位置来动态改变声音属性。有关详细信息,请参阅“Understanding sends”一节。 |
For more information about how developers program obstruction and occlusion, refer to the Obstruction and Occlusion with Game-defined Auxiliary Sends section in the Wwise SDK documentation.
For more information about diffraction and transmission, refer to the Rooms and Portals Overview and Using the Geometry API for Simulating Diffraction and Transmission sections in the Wwise SDK documentation.
In Wwise, you can define platform-specific volume, LPF, HPF, and DSF curves to apply to sound objects when they are affected by obstruction, occlusion, diffraction, and transmission during gameplay. The values you define are relative and are accumulated with any values already applied to the game object. Volumes and DSF values are accumulated through addition, while LPF and HPF values are accumulated by retaining the highest value.
To define the environmental settings for your project:
Open the Project Settings dialog by doing one of the following:
在菜单栏中,点击 Project > Project Setting。
按 Shift+K。
Switch to the Environmental Curves tab.
Within the Project Environmental Curves group, click on the "..." button to choose an attenuation ShareSet to be used at the project level. A ShareSet can be used both at the project level and on an individual sound.
![]() | 备注 |
---|---|
To create a new ShareSet for the project environmental curves, add it in the “ShareSets 选项卡”一节 of the Project Explorer first. |
To modify the environmental curves, double-click on the attenuation ShareSet selector to open the corresponding “Attenuation Editor”一节.
![]() | 备注 |
---|---|
|
完成后,点击 OK。
The Project Settings dialog closes and the chosen attenuation ShareSet will be used for your project.
![]() | 备注 |
---|---|
It is possible to open the chosen attenuation ShareSet from the “ShareSets 选项卡”一节 of the Project Explorer later to apply changes to the curves. Live editing is possible. |
另外,还可禁用这些曲线或针对声音对象创建自定义曲线。Refer to “Applying attenuation”一节 and its subsections to see how this is done.