struct
RoomVolumeComponent
A room the sound graph knows about: an oriented box around the entity (rotation and scale follow its transform). Two points in different rooms hear each other only through the portals that join them, or through the walls if that is louder; a room with no portal out is sealed. Nested rooms resolve to the higher priority, then the smaller one — a closet inside a hall. Read by FSoundPropagation for world sounds, voice and AI hearing alike, so the three always agree about which side of a door you are on.
- Module
- Audio
- Header
#include "Audio/Components/RoomVolumeComponent.h"- Namespace
Mowo- Reflection
- Reflected by MowoHeaderTool
Properties
| Type | Name | Description |
|---|---|---|
bool | enabled | Default true. |
std::string | roomId | Portals may name the rooms they join instead of finding them by probe; empty falls back to the entity id in debug output. |
Vec3 | halfExtents | Default Vec3(4.0f, 2.5f, 4.0f). |
int32_t | priority | Default 0. |
Generated from Audio/Components/RoomVolumeComponent.h via audio.json · Oct 26, 2026Version 1.0.0