버전
menu_open
Wwise Unreal Integration Documentation
차단

Basic occlusion is exposed for 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.

To enable occlusion on an Actor, use the Set Obstruction Occlusion Refresh Interval function in the Blueprint Editor. A UAkComponent version is also available. If the refresh interval is set to 0, occlusion is disabled.

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를 시작해 보세요