| description | Turns splines to paths. |
|---|---|
| icon | circle |
This node converts Unreal Spline data into PCG path points, extracting spline control points with their tangent information. Each spline point becomes a path point with optional attributes for tangents, length, alpha position, and point type.
- Read Splines: Process input spline data from the Splines pin.
- Filter by Type: Optionally filter to only closed loops or open splines.
- Extract Points: Convert each spline control point to a path point.
- Write Tangents: Optionally store arrive and leave tangent vectors as attributes.
- Write Metadata: Optionally write length, alpha, and point type information.
{% hint style="warning" %}
This node doesn't do any sampling, interpolation or transformations. It is a direct 1:1 representation of the spline control points as PCG points. {% endhint %}
Usage Notes
- Tangent Attributes: The written tangent attributes can be used by downstream spline mesh nodes or for path orientation calculations.
- Alpha Attribute: The alpha value (0-1) represents the normalized position along the spline, useful for gradient effects or distance-based operations.
- Point Type: Stores the original spline interpolation type (Linear, Curve, etc.) as an integer for downstream processing.
- Transform Inheritance: Control whether points inherit the spline's scale and rotation or use default transforms.
| Pin | Type | Description |
|---|---|---|
| Splines | Spline | Spline data to convert to paths |
| Pin | Type | Description |
|---|---|---|
| Out | Points | Path points extracted from splines |
Transform Details FPCGExLeanTransformDetails
Controls how point transforms are derived from the spline.
| Property | Description | Default |
|---|---|---|
| Inherit Scale | Apply the spline's scale to points. | true |
| Inherit Rotation | Apply the spline's rotation to points. | true |
⚡ PCG Overridable
Sample Inputs EPCGExSplineSamplingIncludeMode
Which splines to convert.
| Option | Description |
|---|---|
| All | Convert all splines. |
| Closed Loops Only | Only convert splines that are closed loops. |
| Open Lines Only | Only convert splines that are open (not looped). |
Default: All
⚡ PCG Overridable
Write Arrive Tangent bool
Write the spline's arrive tangent (incoming direction) to an FVector attribute.
Default: true
Attribute: ArriveTangent
⚡ PCG Overridable
Write Leave Tangent bool
Write the spline's leave tangent (outgoing direction) to an FVector attribute.
Default: true
Attribute: LeaveTangent
⚡ PCG Overridable
Write Length At Point bool
Write the cumulative spline length at each point. This is the distance traveled along the spline from the start to this point.
Default: false
Attribute: LengthAtPoint
⚡ PCG Overridable
Write Alpha bool
Write the normalized position along the spline (0 at start, 1 at end).
Default: false
Attribute: Alpha
⚡ PCG Overridable
Write Point Type bool
Write the original spline point interpolation type as an integer.
0= Linear1= Curve2= Constant3= CurveClamped4= CurveCustomTangent
Default: false
Attribute: PointType
⚡ PCG Overridable
Tags To Data EPCGExTagsToDataAction
How to handle tags from source splines.
| Option | Description |
|---|---|
| Do Nothing | Ignore source tags. |
| To @Data | Forward tags to the data domain. |
| Attribute | Store tags as point attributes. |
Default: To @Data
Tag Forwarding FPCGExNameFiltersDetails
Filter which tags are forwarded from source splines.
//→ See TODO FPCGExNameFiltersDetails
Carry Over Settings FPCGExCarryOverDetails
Controls which attributes and tags are preserved during conversion.
//→ See TODO FPCGExCarryOverDetails
This node inherits path processing settings from its base class.
→ See Path Processor Settings for: Path handling options.