Occlusion Definition
The AudioOcclusionDefinition
is a configuration primitive that allows you to customize occlusion calculations.
Creation
Create an AudioOcclusionDefinition
by navigating to the Content Browser > +Add > Audio > Audio Occlusion category.
Configuration
This is an example of AudioOcclusionDefinition
which ships with Audio Occlusion plugin by default.
- Evaluators: A list of evaluators used for occlusion calculations. These evaluators execute ray tracing logic and generate the
Value
forPlugin.AudioOcclusion
.- Influence Section: Defines the distance in centimeters from the previous entry. For example, with entries 0, 100, and 100:
- The 1st section ranges from 0 cm to 100 cm.
- The 2nd section ranges from 100 cm to 200 cm.
- The 3rd section extends from 200 cm to the Max Falloff Distance.
- Evaluator: The class used for performing the calculation.
- Influence Section: Defines the distance in centimeters from the previous entry. For example, with entries 0, 100, and 100:
- Audio Occlusion Channel: Trace channel used for occlusion tracing
- Trace Complex: Use complex collision for tracing or not
- Max Falloff Distance: Beyond this distance, no traces are thrown as the sound is considered too far away.