バージョン

menu_open
警告:あなたのメジャーリリース ( 2023.1.7.8574 ) に該当する最新ドキュメンテーションが表示されています。特定バージョンのドキュメンテーションにアクセスするには、Audiokinetic Launcherでオフラインドキュメンテーションをダウンロードし、Wwise AuthoringのOffline Documentationオプションにチェックを入れてください。
Wwise SDK 2023.1.7

◆ SetMultiplePositions() [1/2]

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetMultiplePositions ( AkGameObjectID  in_GameObjectID,
const AkChannelEmitter in_pPositions,
AkUInt16  in_NumPositions,
MultiPositionType  in_eMultiPositionType = MultiPositionType_MultiDirections,
AkSetPositionFlags  in_eFlags = AkSetPositionFlags_Default 
)

Sets multiple positions to a single game object, with flexible assignment of input channels. 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.

注釈: Calling AK::SoundEngine::SetMultiplePositions() with only one position is the same as calling AK::SoundEngine::SetPosition()
戻り値
  • 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.
参照
引数
in_GameObjectIDGame Object identifier.
in_pPositionsArray of positions to apply, each using its own channel mask.
in_NumPositionsNumber of positions specified in the provided array.
in_eMultiPositionTypeAK::SoundEngine::MultiPositionType
in_eFlagsOptional flags to independently set the position of the emitter or listener component.

このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう