Procedural Dungeon ⏵ Dungeon Generator Base ⏵ Create Room Instance
Create Room Instance
Class: Dungeon Generator Base
Category: GenerationAlgorithm
Description
Create and initialize a new room instance using the room data provided.
If you don't add the room to the dungeon, use DiscardRoomInstance to benefit from the pooling system.
Node

C++
URoom* CreateRoomInstance(URoomData* RoomData)
Inputs
| Name | Type | Description |
|---|---|---|
| In | Exec | |
| Target | Dungeon Generator Base Object Reference | |
| Room Data | Room Data Object Reference |
Outputs
| Name | Type | Description |
|---|---|---|
| Out | Exec | |
| Return Value | Room Object Reference |