menu
 

在 Audiokinetic 社区问答论坛上,用户可对 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
分类:General Discussion | 用户: chandon w. (160 分)

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
...