The Wwise Authoring API communicates with the Wwise Authoring application. Through WAAPI, the Unreal integration can request and alter information about the Wwise project during a session if Unreal and Wwise Authoring are both running, and Unreal is connected to WAAPI.
WAAPIとその機能について、詳しくはhttps://www.audiokinetic.com/library/edge/?source=SDK&id=waapi.htmlを参照してください。
info | 注記: WAAPI is only available on the Windows and Mac platforms, both in Editor and in Game. |
WAAPIに接続する
After you integrate Wwise into your Unreal project, you must update an Unreal congifuration setting to connect to WAAPI.
To enable WAAPI in your Unreal project:
- Open your project in the Unreal Editor and the corresponding Wwise project in Wwise Authoring.
- In Unreal, click Edit > Project Settings. The Unreal Project Settings dialog opens.
- In the left panel, scroll to the Wwise section and click User Settings.
- Select Auto Connect to WAAPI. WAAPI features such as inside the Wwise Browser are now enabled.
WAAPI対応の機能を実行するには、Wwiseオーサリングアプリケーションで開いたWwiseプロジェクトと、Integration SettingsのWwise Project Pathで定義されたプロジェクトが、合致する必要があります。
Integration Settings
WAAPIに接続するためのIPアドレスとポートを、Wwise User Settingsで設定できます:
User Settings
WAAPIをC++から使う
WAAPI C++ サンプルクライアント用のUnrealラッパークラス(wrapper class)が、AkAudioモジュールの一部として提供されています。
これを使うには、まず Unreal Engine C++ Projects に記載された手順に沿って、AkAudioモジュールを依存関係としてあなたのゲームに追加する必要があります。これを完了すると、 FAkWaapiClient
クラスが利用できます。