Version

menu_open
Attention : vous avez été redirigé vers la plus récente documentation correspondant à votre version générale ( 2023.1.4.8496 ). Si vous souhaitez accéder à la documentation de votre version précise, veuillez télécharger la documentation hors ligne depuis l'Audiokinetic Launcher et sélectionner l'option de documentation Offline dans l'application de création Wwise.
Wwise SDK 2023.1.4

◆ SetPortalToPortalObstruction()

AKSOUNDENGINE_API AKRESULT AK::SpatialAudio::SetPortalToPortalObstruction ( AkPortalID  in_PortalID0,
AkPortalID  in_PortalID1,
AkReal32  in_fObstruction 
)

Set the obstruction value of the path between two portals that has been created by Spatial Audio. The obstruction value is applied on one of the path segments of the sound between the emitter and the listener. Diffraction must be enabled on the sound for a diffraction path to be created. Also, there should not be any portals between the two provided ID parameters. The obstruction value is used to simulate objects between the portals that are obstructing the sound. Send an obstruction value of 0 to ensure the value is removed from the internal data structure.

See also
Parameters
in_PortalID0Portal ID
in_PortalID1Portal ID
in_fObstructionObstruction value. Valid range 0.f-1.f

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