Spline Mesh Attribute

Note

Inherited from Generate Attributes — shares its anchor, alignment, and per-key transform channels.

Sweeps a Static Mesh into a USplineMeshComponent along the lane at the LengthOfSegment interval — ideal for guardrails, barriers, and curbs that must bend with the road. Add it and place keys with Attribute Mode.

A spline-mesh guardrail generated along a road lane

Create new Attribute

Create a new attribute from the Content Browser under the Meta Road category:

Creating a new attribute from the Content Browser Meta Road category

In the Pick Parent Class dialog choose RoadLaneAttributeSplineMeshDescriptor:

Choosing RoadLaneAttributeSplineMeshDescriptor as the parent class

Properties

Property

Description

StaticMesh

The mesh swept into a USplineMeshComponent along each segment.

BodyInstance

Collision settings applied to the generated spline mesh.

LengthOfSegment

Target arc-length [cm] of each generated segment (segment density).

Sampler

How the lane is subdivided — By Length of Segment or Between Keys.

For the shared per-key transform channels (Alpha, Scale, Offset, Roll, width overrides) and Alignment, see How a Generate Attribute follows the lane.

The Spline Mesh attribute's property panel

Drag and Drop

Drag a Spline Mesh attribute profile from the Content Browser onto a road lane to add it directly:

Dragging a Spline Mesh attribute profile onto a road lane

Examples

Sample assets: /MetaRoad/MetaRoad/Profiles/SplineMeshes.

See also