Procedural Dungeon ⏵ Dungeon Graph ⏵ Get First Room from Data
Get First Room from Data
Class: Dungeon Graph
Category: Dungeon Graph
Description
Returns the first found room instance of the provided room data
(no defined order, so could be any room of the dungeon)
Node

C++
const URoom* GetFirstRoomFromData(const URoomData* Data)
Inputs
| Name | Type | Description |
|---|---|---|
| In | Exec | |
| Target | Dungeon Graph Object Reference | |
| Data | Room Data Object Reference |
Outputs
| Name | Type | Description |
|---|---|---|
| Out | Exec | |
| Return Value | Room Object Reference | Returns the first found room instance of the provided room data (no defined order, so could be any room of the dungeon) |