版本
menu

Wwise SDK 2024.1.9

◆ SetActorMixerEffect()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetActorMixerEffect ( AkUniqueID  in_audioNodeID,
AkUInt32  in_uFXIndex,
AkUniqueID  in_shareSetID 
)

Sets an Effect ShareSet at the specified audio node and Effect slot index.

备注: Replacing effects is preferably done through a Set Effect Event Action.

The target node cannot be a Bus, to set effects on a bus, use SetBusEffect() instead.

备注: 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 SetActorMixerEffect will have no impact.
返回
Always returns AK_Success
参数
in_audioNodeIDCan be a member of the Actor-Mixer or Interactive Music Hierarchy (not a bus).
in_uFXIndexEffect slot index (0-254)
in_shareSetIDShareSets ID; pass AK_INVALID_UNIQUE_ID to clear the effect slot

此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅