Table des matières

virtual bool AK::SoundFrame::ISoundFrame::SetMultiplePositions ( AkGameObjectID  in_GameObjectID,
const AkSoundPosition in_pPositions,
AkUInt16  in_NumPositions,
AK::SoundEngine::MultiPositionType  in_eMultiPositionType = AK::SoundEngine::MultiPositionType_MultiDirections  
) [pure virtual]

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

Returns:
True if the operation was successful, False otherwise
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