Version

    Autre Documentation

menu_open
Wwise SDK 2018.1.11

◆ SetGameObjectOutputBusVolume()

AKRESULT __cdecl AK::SoundEngine::SetGameObjectOutputBusVolume ( AkGameObjectID  in_emitterObjID,
AkGameObjectID  in_listenerObjID,
AkReal32  in_fControlValue 
)

Sets the Output Bus Volume (direct) to be used for the specified game object. The control value is a number ranging from 0.0f to 1.0f. Output Bus Volumes are stored per listener association, so calling this function will override the default set of listeners. The game object in_emitterObjID will now reference its own set of listeners which will be the same as the old set of listeners, but with the new associated gain. Future changes to the default listener set will not be picked up by this game object unless ResetListenersToDefault() is called.

See also
Returns
Always returns AK_Success
Parameters
in_emitterObjID Associated emitter game object ID
in_listenerObjID Associated listener game object ID. Pass AK_INVALID_GAME_OBJECT to set the Output Bus Volume for all connected listeners.
in_fControlValue A multiplier where 0 means silence and 1 means no change. (Therefore, values between 0 and 1 will attenuate the sound, and values greater than 1 will amplify it.)

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