In brief
- Spline Mesh Component is a type of Static Mesh Component that can be shaped along a spline.
- You can define start and end positions and the tangent values for each end.
- The Python 5.2 documentation includes an option to edit spline properties per instance in the level viewport.
- SplineMeshActor is documented as an actor that contains a SplineMeshComponent.
What will you learn in this guide?
This guide explains the basics of the Spline Mesh Component in Unreal Engine, which shapes a static mesh along a spline. The aim is to understand where you can use this component in architectural visualization and environment design, and to establish a controlled workflow for a test scene.
The component is shaped using start and end positions, along with start and end tangent values. So it should not be thought of as an entire curve defined by an unlimited number of control points: the data described in the documentation is limited to the two endpoints. Planning a longer route as separate sections is one way to account for this limitation.
Requirements and version note
The official Python API documentation describes SplineMeshComponent for Unreal Python 5.2 and marks it as experimental. The feature names and scope in this guide are based on that version of the documentation. The sources do not specify any additional account, fee, or hardware requirements for using Unreal Python, so no assumptions are made here.
There is also a separate Unreal Python 5.0 document for SplineMeshActor. It describes the actor as containing a SplineMeshComponent. Accordingly, this guide uses the 5.2 document for the component’s deformation behavior and the 5.0 document for the actor-component relationship. If you are using a different version in your project, check that version’s documentation; do not assume the features are unchanged between versions.
For an initial test, choose a single nonlinear element, such as a curved road edge, railing, or similar feature. Having the static mesh ready and defining a route with clear boundaries in the scene makes it easier to evaluate the result. These are suggested preparations for a test workflow; the sources do not require a specific mesh, asset, or project template.
Basic workflow, step by step
Define the route first. Decide where the element begins and ends in the scene. Place the start and end points according to the design dimensions. Also plan the tangent values that represent the direction of the curve. These are key inputs, alongside the endpoints, that shape the component.
Choose the appropriate component structure. Spline Mesh Component is derived from a static mesh component and is intended for shaping a mesh along a spline. To use it inside an actor in the scene, you can also consider SplineMeshActor; the Unreal Python 5.0 document describes this actor as containing a SplineMeshComponent. This description does not mean the actor provides a new curve-editing method on its own.
Shape the mesh to follow the route. Set the component’s start and end positions, then adjust the start and end tangent values to match the route you designed. Check how the mesh extends along the curve and how it is oriented at the ends. These four endpoint values are the basic shaping data described in the documentation; this guide does not suggest additional curve parameters or an automatic placement method.
Check the forward axis. The documented
forward_axisproperty selects the forward axis used for the spline mesh’s orientation. If the mesh rotates unexpectedly, check whether its own orientation is consistent with this axis selection. This setting concerns the mesh’s orientation, not the shape of the route.Choose an editing method. When
allow_spline_editing_per_instanceis enabled, spline mesh properties—the start and end positions and tangent values—can be edited per instance in the level viewport. If the option is disabled, the documentation states that the spline mesh must be initialized in a construction script. So decide in advance whether you need to edit individual instances in the scene or set up the component through a construction script.Test the route in sections. For a long architectural element or one that changes direction, consider the component’s structure, which is defined by endpoint values, in light of your design decisions. Building the route from multiple sections can be considered as a way to control each section’s start and end values separately. Since the sources do not specify a section count or automatic splitting behavior, determine these for your project and validate them in a test scene.
Review the result in context. Check whether the curve follows the design line and whether the mesh orientation is consistent. If an element looks different than expected, review the endpoint positions, tangent values, and
forward_axisselection individually. This lets you test issues using the main inputs described in the documentation.
Common mistakes
The first mistake is treating the component as a full spline editor. The documentation says that only start and end positions and tangent values can be specified; it does not say that intermediate control points can be defined directly in this component. Plan workflows for more complex routes accordingly.
The second mistake is attributing mesh orientation solely to the curve’s shape. forward_axis is a separate orientation setting, so the mesh’s axis may not behave as expected even if the curve looks right. A third mistake is overlooking the condition for per-instance editing: if this option is disabled, the documented approach is to initialize the component in a construction script.
Implications for architectural and visualization workflows
The Spline Mesh Component may be useful to architecture, interior design, and archviz teams that need to shape repeating or curved environmental elements in a real-time scene. For example, it makes the start-to-end relationship visible for a linear element such as a road edge, railing, or landscape boundary. These are suggested use cases; the sources do not provide ready-made content for any specific type of architectural project.
The main workflow checkpoints are whether the Unreal version in use matches the documentation, the orientation of the static mesh, and the method used to edit spline properties. The sources do not provide information about hardware requirements, licensing costs, or compatibility with other software, so consult project and product documentation separately before making decisions on these points. In particular, because the Python 5.2 documentation is marked as experimental, prepare a small test before moving to a production scene.
Next steps
Start with a simple element and vary the tangent values while keeping the start and end points fixed. Then observe the same test with different forward_axis selections. Finally, if you need per-instance editing in the level viewport, check how the allow_spline_editing_per_instance property behaves; if initialization in a construction script is required, adapt your workflow accordingly. These small tests help distinguish which settings affect shape and which affect orientation before you bring the result into a production scene.
Sources and licensing
This content is adapted from Epic Games’ Unreal Engine Python API documentation. K1 is the Unreal Python 5.2 SplineMeshComponent document; K2 is the Unreal Python 5.0 SplineMeshActor document. Both sources are provided under an open license. This guide adapts the technical definitions in the documentation into an English educational workflow.
Sources
2 sourcesSource texts are not republished; short quotes are marked, everything else is our own summary and commentary.
The practical value of Spline Mesh Component is clear for visualization teams that want to test curved linear elements in a real-time scene. In architectural presentations, adjusting the shape of features such as road edges or railings to suit the scene can offer a more flexible workflow than using a static, straight mesh as is.
However, the experimental status of the 5.2 Python documentation makes it important to set up a small validation scene before incorporating the component directly into production. The sources provide no information about hardware, licensing costs, or compatibility with other software; offices and students in Turkey should check these points against their own project requirements.
Frequently asked questions
What is the Unreal Engine Spline Mesh Component used for?
It is used to shape a static mesh along a spline. The Unreal Python 5.2 documentation specifies start and end positions and tangent values.
Which values can be edited in a Spline Mesh Component?
The start and end positions and the start and end tangent values can be used for shaping. `forward_axis` selects the forward axis for the spline mesh’s orientation.
What is the relationship between SplineMeshActor and SplineMeshComponent?
According to the Unreal Python 5.0 documentation, SplineMeshActor is an actor that contains a SplineMeshComponent.



