Table of Contents

Wwise SDK 2018.1.11

◆ QueryDiffractionPaths()

AKRESULT __cdecl AK::SpatialAudio::QueryDiffractionPaths ( AkGameObjectID  in_gameObjectID,
AkVector out_listenerPos,
AkVector out_emitterPos,
AkDiffractionPathInfo out_aPaths,
AkUInt32 io_uArraySize 
)

Query information about the diffraction state for a particular listener and emitter, which has been calculated using the data provided via the spatial audio emitter API. This function can be used for debugging purposes. This function must acquire the global sound engine lock and therefore, may block waiting for the lock.

See also
Parameters
in_gameObjectID The ID of the game object that the client wishes to query.
out_listenerPos Returns the position of the listener game object that is associated with the game object in_gameObjectID.
out_emitterPos Returns the position of the emitter game object in_gameObjectID.
out_aPaths Pointer to an array of AkPropagationPathInfo's which will be filled after returning.
io_uArraySize The number of slots in out_aPaths, after returning the number of valid elements written.