Latest news
SketchUp Ruby API Guide: Managing Models, Entities, and ComponentsKarma XPU Guide: Solaris Rendering Workflows in Houdini H20Unreal Engine PCG Framework guide: procedural content generation with nodesMemphis Art Museum to Open on December 6 in Herzog & de Meuron DesignBlender EEVEE Ray Tracing Guide: Settings for Interior ScenesCamera Tracking in Blender: A Guide to 3D Solving and Track CleanupA Guide to Color-Correcting Architectural Renders with Blender CompositorCreating Architectural Materials with Blender Principled BSDF: A Step-by-Step GuideArchitectural Image Generation with Nano Banana 2: A Step-by-Step Prompt GuideAdding Linework and a Technical Look to Architectural Renders with Blender Freestyle
TutorialsUnreal Engine

Unreal Engine PCG Framework guide: procedural content generation with nodes

Unreal Engine PCG Framework uses node-based graphs to generate procedural content in the editor and at runtime. This guide covers the basics of getting started with core data flows and nodes from Epic’s Unreal Engine 5.9 documentation.

A contemporary architectural courtyard with a repeating landscape layoutAI image
Representative image, generated with AI.Image: 3dsınıfı / FCA AI

In brief

  1. Data enters a PCG graph through a PCG Component in the level; points are created and processed by subsequent nodes.
  2. Attribute Filter provides general-purpose filtering for point data or an Attribute Set.
  3. Nodes such as Branch and Switch route the graph to different outputs based on conditions.
  4. The Debug node does not work in non-editor builds; Sanity Check Point Data halts generation when values fall outside the specified range.

What you’ll learn in this guide

Unreal Engine’s Procedural Content Generation (PCG) Framework is a system for generating procedural content with node-based graphs. Epic Games’ Unreal Engine 5.9 documentation states that PCG can generate content in the editor and at runtime. In this guide, you’ll learn how data flows into a graph, how points can be filtered, how to organize conditional flow and how to inspect a graph.

Think of a PCG graph as a data-processing pipeline: spatial data enters the graph through a PCG Component in the level; the graph creates points from that data, then nodes filter or modify them. Epic describes the setup as a node layout similar to the Material Editor. The examples below introduce the functions of documented nodes; they do not prescribe a specific ready-made asset or architectural generation recipe.

Requirements and getting started

This guide is based on the PCG overview and node reference in the Unreal Engine 5.9 documentation. To follow how PCG works, you need an Unreal Engine project, a level and a PCG Component in that level; the source states that spatial data reaches the graph through this component. The documentation does not specify an account requirement, licensing terms or hardware requirements, so no additional conditions are set out here.

Before you begin, decide what data the graph will process and what result you want to check. Keeping the goal limited in your first test makes it easier to distinguish how each node affects the data flow. Since the sources do not provide a specific menu path or click sequence, this guide focuses on node functions and their logical order.

A basic PCG workflow, step by step

  1. Define the input and the purpose of the flow. The PCG Component in the level passes spatial data to the Procedural Node Graph. First, clarify what data the graph will take in and which points should move on to subsequent operations. In PCG, points form the input for the filtering and modification steps that follow. Noting the expected inputs and outputs before adding nodes makes the flow easier to follow.

  2. Filter point data by an attribute. Attribute Filter provides general-purpose filtering for Point Data or an Attribute Set. The filter criterion can be a constant value, other spatial data or an Attribute Set. Consider this node when you want to separate data, discard some points or route them to different operations. If you need to separate the portions of an attribute that fall inside and outside a specified range, you can use Attribute Filter Range.

  3. Choose density filtering as needed. Density Filter filters points based on density and specified filter ranges. Epic’s node reference says this node has been fully superseded by Attribute Filter; however, it also describes Density Filter as a more specialized and efficient option. It can be used when performance is a priority or when its purpose makes the graph easier to understand. Density Remap applies a linear transformation to remap density values; Curve Remap Density remaps densities according to the supplied curve.

  4. Create conditional paths. Branch sends data to one of two outputs based on a Boolean value. One of its flow-control behaviors is to exclude the unused branch from execution. Use Select to choose between two inputs. If you need more options, Select (Multi) provides different inputs; Switch selects between multiple outputs based on a condition and can be configured with an integer, string or enum. Don’t confuse Branch with Select: one routes data to one of two outputs, while the other sends one of two inputs to a single output.

  5. Tag and sort data. Add Tags adds comma-separated tags to data; Filter Data By Tag separates data based on tags. These nodes can help classify data in the graph and route tagged data to a different branch. Sort Attributes orders Point Data or an Attribute Set in ascending or descending order based on the selected attribute. Sorting can be used to pass a more predictable data order to subsequent operations.

  6. Check assumptions and output. The Debug node can be used to inspect the node immediately before it and serves as a persistent checkpoint in the graph. However, it does not work in non-editor builds. Sanity Check Point Data verifies whether the input points have a value within the specified range; it logs an error for values outside that range and cancels generation. So treat this node as a check for testing assumptions, rather than as a routine part of a continuous generation flow.

Common pitfalls

Adding filter nodes one after another without distinguishing their purposes makes the data flow harder to understand. Attribute Filter works with point data or attributes, while Filter Data By Attribute separates data based on whether a particular attribute exists on a data element. Rather than assuming the two nodes do the same thing, check what data is in the input and which output will be used.

Another mistake is overlooking how the documentation positions Density Filter. The source describes this node as fully superseded by Attribute Filter; it also notes, however, that it may be used when performance matters or when the node makes the graph’s intent clearer. Limit your choice to this guidance; don’t assume performance metrics that the source does not provide.

The limitations of validation nodes also matter. Debug does not work in non-editor builds. Sanity Check Point Data cancels generation when it finds a value outside the specified range. Assigning these nodes critical roles in a production flow without understanding this behavior can lead to unexpected results.

Finally, use Apply On Actor with care. The node can set actor properties through an Attribute Set and call parameterless functions after the properties have been set. Epic states that actor changes made with this node cannot be undone by PCG. Before adding it to the graph, consider which actor is being modified and the fact that the changes cannot be undone.

How might this fit into architectural and archviz workflows?

The PCG documentation does not prescribe a workflow specifically for architecture, interior design or archviz. However, teams looking to assess the general data-flow approach in their own projects can first identify the spatial data and point attributes on which a repeated operation depends. They can then test with a small example whether filtering, tagging or conditional branching nodes are suitable for organizing that data. This is a practical suggestion based on the documented node functions, not a guarantee of a specific architectural result.

The provided documentation excerpts do not detail how project assets and data should be connected to a PCG graph. Teams should therefore test compatibility with their own project data. These sources also provide no information about hardware, costs or licensing requirements. Debug’s limitations outside the editor and the fact that Apply On Actor changes cannot be undone are points that should be checked carefully in production planning.

Next steps

Keep your first test to one input, one filter and one node that checks the result. Then add conditional branches, tags or sorting as needed. At each stage, note what the input data is, which output will be used and whether the node has any limitations. Epic’s reference lists many PCG nodes; rather than adding them all to the same graph, use the nodes that meet your intended data-processing goal.

Sources and licensing

This guide has been adapted into Turkish using Epic Games’ Unreal Engine 5.9 PCG overview documentation and the Procedural Content Generation Framework node reference. Both sources are provided under a free license.

Sources

2 sources
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/procedural-content-generation-overview
Summary
D
dev.epicgames.comdev.epicgames.com/documentation/en-us/unreal-engine/procedural-content-generation-framework-node-reference-in-unreal-engine
Summary

Source texts are not republished; short quotes are marked, everything else is our own summary and commentary.

3dsınıfı’s take
3dEditor’s assessment

For architecture firms, interior design teams and students in Turkey, PCG’s clearest benefit here is that it makes the logic of processing data step by step through nodes easier to understand. This approach offers a good starting point for assessing, with a small project test, whether a repeated operation can be organized with PCG.

However, the documentation does not provide a workflow tailored to architectural use, hardware requirements, pricing or licensing terms. Compatibility with project data should therefore be tested before making a decision; in particular, teams should consider that Apply On Actor changes cannot be undone and that Debug does not work in non-editor builds.

Frequently asked questions

What is Unreal Engine PCG Framework used for?

PCG Framework uses node-based graphs to generate procedural content in the editor and at runtime. Spatial data reaches the graph through a PCG Component in the level, where points are processed.

How do you filter point data in a PCG graph?

Attribute Filter provides general-purpose filtering for Point Data or an Attribute Set. Density Filter filters points based on density and filter ranges; the documentation says it has been fully superseded, but may still be used for performance or graph clarity.

Does the PCG Debug node work in non-editor builds?

No. According to Epic’s node reference, the Debug node does not work in non-editor builds.

Comments and the forum are in Turkish.Join the discussion
+

Related news