版本

menu_open
Wwise SDK 2019.1.11
ak.soundengine.setMultiplePositions

Set multiple positions for a single game object. Setting multiple positions for 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. See AK::SoundEngine::SetMultiplePositions.

Arguments

Name Type Description
gameObject * integer Game Object identifier.
A game object ID, unsigned integer 64-bit.
Range: [0,18446744073709551615]
multiPositionType * integer Use values from AK::SoundEngine::MultiPositionType.
Range: [0,2]
positions * array Array of positions to apply.
positions [...] object Position
positions[...].position * object A 3D position to set for the game object.
positions[...].position.orientationTop * object Top orientation of the listener.
positions[...].position.orientationTop.y * number Y Position.
positions[...].position.orientationTop.x * number X Position.
positions[...].position.orientationTop.z * number Z Position.
positions[...].position.position * object Position of the listener
positions[...].position.position.y * number Y Position.
positions[...].position.position.x * number X Position.
positions[...].position.position.z * number Z Position.
positions[...].position.orientationFront * object Orientation of the listener.
positions[...].position.orientationFront.y * number Y Position.
positions[...].position.orientationFront.x * number X Position.
positions[...].position.orientationFront.z * number Z Position.

(Required *)

Arguments Schema

See Also

Examples

Refer to 使用 Wwise Authoring API(WAAPI) for more information about WAAPI.


此页面对您是否有帮助?

需要技术支持?

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

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

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

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

开始 Wwise 之旅