Version

menu_open
Wwise SDK 2023.1.4

◆ SetEarlyReflectionsAuxSend()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::SetEarlyReflectionsAuxSend ( AkGameObjectID  in_gameObjectID,
AkAuxBusID  in_auxBusID 
)

Set an early reflections auxiliary bus for a particular game object. Geometrical reflection calculation inside spatial audio is enabled for a game object if any sound playing on the game object has a valid early reflections aux bus specified in the authoring tool, or if an aux bus is specified via SetEarlyReflectionsAuxSend. The in_auxBusID parameter of SetEarlyReflectionsAuxSend applies to sounds playing on the game object in_gameObjectID which have not specified an early reflection bus in the authoring tool - the parameter specified on individual sounds' reflection bus takes priority over the value passed in to SetEarlyReflectionsAuxSend.

Note: Users may apply this function to avoid duplicating sounds in the actor-mixer hierarchy solely for the sake of specifying a unique early reflection bus, or in any situation where the same sound should be played on different game objects with different early reflection aux buses (the early reflection bus must be left blank in the authoring tool if the user intends to specify it through the API).
Parameters
in_gameObjectIDGame object ID
in_auxBusIDAuxiliary bus ID. Applies only to sounds which have not specified an early reflection bus in the authoring tool. Pass AK_INVALID_AUX_ID to set only the send volume.

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