struct
SushiEngine::Simulation::Portal
The "Portal" component: a doorway joining two Room volumes.
- Declared in
engine/world/simulation/include/SushiEngine/simulation/components.hpp
Centred on the entity's Transform position (the opening the sound passes through), joining rooms room_a and room_b. When the listener and a source are in the two rooms, this opening becomes a secondary virtual source at the doorway. Trivially copyable.
Properties
room_a | One joined room's Room::id. |
room_b | The other joined room's Room::id. |
half_extents | Opening half-size around the Transform. |

