バージョン

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

◆ SetObjectObstructionAndOcclusion()

AKSOUNDENGINE_API AKRESULT AK::SoundEngine::SetObjectObstructionAndOcclusion ( AkGameObjectID  in_EmitterID,
AkGameObjectID  in_ListenerID,
AkReal32  in_fObstructionLevel,
AkReal32  in_fOcclusionLevel 
)

Sets a game object's obstruction and occlusion levels. If SetMultiplePositions were used, values are set for all positions. To assign a unique obstruction and occlusion value to each sound position, instead use AK::SoundEngine::SetMultipleObstructionAndOcclusion. This function is used to affect how an object should be heard by a specific listener.

参照
戻り値
Always returns AK_Success
引数
in_EmitterIDEmitter game object ID
in_ListenerIDListener game object ID
in_fObstructionLevelObstructionLevel: [0.0f..1.0f]
in_fOcclusionLevelOcclusionLevel: [0.0f..1.0f]

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう