Other Documentation

Wwise SDK 2022.1.8

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

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

Note: 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_audioNodeID Can be a member of the Actor-Mixer or Interactive Music Hierarchy (not a bus).
in_uFXIndex Effect slot index (0-3)
in_shareSetID ShareSets ID; pass AK_INVALID_UNIQUE_ID to clear the effect slot

Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise