menu
 

AudiokineticのコミュニティQ&AはWwiseやStrataのコミュニティ内でユーザ同士が質問・回答をし合うことができるフォーラムです。Audiokineticテクニカルサポートチームからの回答をご希望の場合は、必ず サポートチケットページ をご利用ください。

0 支持
I used ak.wwise.core.object.setProperty , but I don't know can I use it to change the AudioFileSource and Event Target
chandon w. (160 ポイント) General Discussion

回答 1

0 支持
 
ベストアンサー
Hello,

To set the Event Target, you need to use: ak.wwise.core.object.setReference, with reference="Target", on a Action object.
Refer to: https://www.audiokinetic.com/fr/library/edge/?source=SDK&id=ak_wwise_core_object_setreference.html

The AudioFileSource can not be changed setProperty. In order to change audio source, you need to use ak.wwise.core.audio.import.
Refer to: https://www.audiokinetic.com/fr/library/edge/?source=SDK&id=waapi_import.html
Bernard R. (Audiokinetic) (35.8k ポイント)
chandon w. 選択
I try to use ak.wwise.core.object.setReference and set reference as "Target",but wwise return Object can't have this reference
I set event as object. Should object be set to other here?
Make sure you set the Target on the Action, not the Event directly. Each Event in Wwise is a list of Actions, and the Actions are the objects that have the Target.
I understand and solved this problem, thank you very much
...