版本
Wwise Unreal Integration Documentation
|
There are several ways to generate the Wwise SoundBanks: from Wwise Authoring, from the Unreal Editor, or through a commandlet. This section explains how to generate SoundBanks in Unreal.
After you generate SoundBanks, you can access Events and other Wwise Objects through the Wwise Browser (see Managing Assets with the Wwise Browser), Blueprints, and so on.
To generate SoundBanks in Unreal:
Do one of the following:
The Generate SoundBanks dialog opens.
The dialog lists the platforms and languages that the Wwise project supports.
在禁用 WAAPI 或没有打开 Wwise 设计工具时,可通过 WwiseConsole 来在 GeneratedSoundBanks 文件夹中生成 SoundBank。
在连接 WAAPI 时,会通过 WAAPI 直接把要生成 SoundBank 的命令发送到 Wwise 设计工具,但仍会在磁盘上的 GeneratedSoundBanks 文件夹中生成 SoundBank。
When the Unreal Editor is open, a directory watcher monitors changes in the GeneratedSoundBanks folder. Changes to files in this folder trigger a countdown timer that appears in a temporary window in the lower-right corner of the screen. Any subsequent changes reset the timer.
When the timer expires, the JSON metadata in the GeneratedSoundBanks folder is parsed, which updates the integration's internal database of the Wwise project.
After the project is parsed, all currently loaded Wwise assets are reloaded to properly apply changes in project data.
If you do not manually generate SoundBanks, any operation that synchronizes the GeneratedSoundBanks folder contents causes the directory watcher to trigger the parsing process.
The following operations parse the project metadata from the GeneratedSoundBanks folder:
To avoid reloading in-memory assets every time you change the contents of the GeneratedSoundBanks folder, you can select an option in the Unreal Project Wwise User Settings to enable a prompt before assets are reloaded. When this setting is enabled, Wwise assets can only be reloaded with explicit user input except during the initialization of the Wwise Project Database when the Unreal editor is opened.
This is the prompt that appears in the bottom right corner of the screen:
After 10 seconds, if you do not click either option, the "Not Now" option is automatically selected.