menu
 
バージョン
2024.1.6.8842

2024.1.6.8842

2023.1.14.8770

2025.1.0.8897

2022.1.19.8584

2021.1.14.8108

2019.2.15.7667

2019.1.11.7296

2018.1.11.6987

2017.2.10.6745

2017.1.9.6501

2016.2.6.6153

2015.1.9.5624

menu

Wwise SDK 2024.1.6

◆ 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からはじめよう