バージョン
menu_open
Wwise Unreal Integration Documentation
オクルージョン

基本的なオクルージョンが、 AkOcclusionObstructionService::SetOcclusionObstruction() 用に公開されています。You can use this service with or without Spatial Audio Rooms. This section describes how the service works without Spatial Audio, and the following Occlusion and Spatial Audio section describes how it works with Spatial Audio.

Actorに対してオクルージョンを有効にするには、Blueprint Editorの Set Obstruction Occlusion Refresh Interval 関数を使います。UAkComponent用のバージョンも用意されています。リフレッシュ間隔を0に設定すると、オクルージョンは無効になります。

To determine whether a listener is occluded from a source, a simple line of sight check is sufficient. Use the line trace channel set in the AkComponent's properties (CollisionChannel). If the line of sight is blocked, the occlusion level calculation starts. This calculation maps the hit point on the obstacle to its bounding box and creates twelve points around the obstacle. Do additional line of sight checks to see if these secondary paths are also blocked. The occlusion sent to the SoundEngine is modulated by the number of secondary paths that are blocked.

A temporal fade method is also available for smooth transitions between occlusion levels. To change the fade speed, change the OCCLUSION_FADE_RATE constant.

Occlusion and Spatial Audio

When using Spatial Audio Rooms, obstruction is set instead of occlusion. In parallel, sources perform simple line of sight checks with AkPortalComponent in the same Room. These portals need to have a non-zero Obstruction Refresh Interval property. The portals also perform simple line-of-sight checks with other portals with a non-zero Obstruction Refresh Interval property.

参照

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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう