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.
| 备注:
|
- 返回
AK_Success
when successful
AK_CommandTooLarge
if the number of positions is too large for the command queue. Reduce the number of positions.
AK_InvalidParameter
if parameters are not valid, for example:
- in_Position makes an invalid transform
- in_eFlags is not one of the valid enum values
- the game object ID is in the reserved ID range.
- 参见
-
- 参数
-
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 |
in_eFlags | Optional flags to independently set the position of the emitter or listener component. |