版本

    其他文档

menu_open
AKRESULT __cdecl AK::SoundEngine::SetBusEffect ( AkUniqueID  in_audioNodeID,
AkUInt32  in_uFXIndex,
AkUniqueID  in_shareSetID  
)

Set an effect shareset at the specified bus and effect slot index. The bus can either be an audio bus or an auxiliary bus. This adds a reference on the audio node to an existing ShareSet.

Note.gif
Note: This function has unspecified behavior when adding an effect to a currently playing bus which does not have any effects, or removing the last effect on a currently playing bus.
Note.gif

Note: This function will replace existing effects on the node. If the target node is not at the top of the hierarchy and is in the actor-mixer hierarchy, the option "Override Parent" in the Effect section in Wwise must be enabled for this node, otherwise the parent's effect will still be the one in use and the call to SetBusEffect will have no impact.

Returns:
Always returns AK_Success
Parameters:
in_audioNodeID  Bus Short ID.
in_uFXIndex  Effect slot index (0-3)
in_shareSetID  ShareSet ID; pass AK_INVALID_UNIQUE_ID to clear the effect slot

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅