版本

    其他文档

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

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.

Note.gif
Note: Calling AK::SoundEngine::SetMultiplePositions() with only one position is the same than 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

此页面对您是否有帮助?

需要技术支持?

仍有疑问?或者问题?需要更多信息?欢迎联系我们,我们可以提供帮助!

查看我们的“技术支持”页面

介绍一下自己的项目。我们会竭力为您提供帮助。

来注册自己的项目,我们帮您快速入门,不带任何附加条件!

开始 Wwise 之旅