
描述
Generate flat, hip, and gable roofs directly inside Unreal Engine.
Procedural Roof Generator is a UE5 plugin for creating practical roof geometry from building footprints through PCG workflows. It gives developers and artists fast, repeatable roofs for houses, villages, towns, and procedural building systems.
Define an ordered footprint, optionally add one hole footprint, and let the plugin solve the roof, build its dynamic mesh, and expose rendered zones for downstream placement.
Custom Nodes:
- RG Offset: offsets or insets a footprint.
- RG Set Point Orientation: sets clockwise/counter-clockwise point order.
- RG Solver: creates flat, hip, or gable topology, ridges, and roof zones.
- RG Dynamic Mesh: builds roof surfaces, thickness, underside, flat inset/parapet geometry, and gable walls.
- RG Assign Material: assigns roof, side, underside, and gable-wall materials.
- RG Extract Roof Ridge Edges: outputs ridge points and splines.
- RG Gutter Splines: creates gutters and downspouts while omitting gable ends.
- RG Sample Surface Points: samples rendered surfaces for prop placement.
- RG Masked Roof Tiles: places fast masked geometric tiles within roof zones.
- RG Segment Splines From Points: creates one spline per footprint segment.
- RG Apply Segment Overrides: applies floor/edge overrides to segment data.
The plugin focuses on roof generation rather than complete buildings. Examples cover flat, hip, and gable roofs, holes, roof tiles, materials, props, fences, and procedural house workflows.

