menu
 
バージョン
2024.1.4.8780

2024.1.4.8780

2023.1.12.8706

2022.1.18.8567

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624


menu_open
Wwise SDK 2024.1.4
Wwise Authoring APIのTopicを購読する

概要

With the Wwise Authoring API, you can call remote procedures (RPC), and can also subscribe to topics and be notified when a topic is published in Wwise (Pub/Sub). You could, therefore, synchronize data between the WAAPI client and the Wwise process or, for example, be informed when the selection changes in Wwise.

To subscribe to topics, you must use the Web Application Messaging Protocol (WAMP). The details vary by language and library. For examples, see the following documentation topics:

When subscribing to a topic, the specified callback is executed whenever the topic is published. Some of the topics support return options you can use to control the content that is passed in the callback, which avoids unnecessary queries.

For example, someone could subscribe to the ak.wwise.core.object.nameChanged topic and provide the following options:

{
"return": ["id", "name", "path"]
}

Every time a Wwise object name changes, the notification is sent to the subscriber with the id, name and path of the object.

info注釈: Subscriptions are automatically revoked when the project is closed. ただしプロジェクトイベントに関連するトピックは、複数のプロジェクトロードに渡り、サブスクリプションがサポートされます。The following topics are exempted topics: ak.wwise.core.project.loaded, ak.wwise.core.project.preClosed, and ak.wwise.core.project.postClosed.

See Returnオプション for more information about the return statement, and Wwise Authoring API Reference for more information about the topics.


このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう