Version
menu

Wwise SDK 2024.1.7

◆ 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.
Returns
Always returns AK_Success
Parameters
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

Cette page a-t-elle été utile ?

Besoin d'aide ?

Des questions ? Des problèmes ? Besoin de plus d'informations ? Contactez-nous, nous pouvons vous aider !

Visitez notre page d'Aide

Décrivez-nous de votre projet. Nous sommes là pour vous aider.

Enregistrez votre projet et nous vous aiderons à démarrer sans aucune obligation !

Partir du bon pied avec Wwise