Version

    Autre Documentation

menu_open
Wwise SDK 2018.1.11

◆ SetMultiplePositions() [1/2]

AKRESULT __cdecl AK::SoundEngine::SetMultiplePositions ( AkGameObjectID  in_GameObjectID,
const AkSoundPosition in_pPositions,
AkUInt16  in_NumPositions,
MultiPositionType  in_eMultiPositionType = MultiPositionType_MultiDirections 
)

Sets multiple positions to a single game object. Setting multiple positions on a single game object is a way to simulate multiple emission sources while using the resources of only one voice. This can be used to simulate wall openings, area sounds, or multiple objects emitting the same sound in the same area.

Note: Calling AK::SoundEngine::SetMultiplePositions() with only one position is the same as calling AK::SoundEngine::SetPosition()
Returns
  • AK_Success when successful
  • AK_InvalidParameter if parameters are not valid.
See also
Parameters
in_GameObjectID Game Object identifier.
in_pPositions Array of positions to apply.
in_NumPositions Number of positions specified in the provided array.
in_eMultiPositionType AK::SoundEngine::MultiPositionType

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