Orbdale Terrain · OrbdaleTerrain module · member function
FOrbdaleTerrainFeatures::
SamplePointsFromSpline
The spline's centreline as corridor Points: samples at equal distances, spacing at most StationSpacing, world cm.
Declaration
static void SamplePointsFromSpline(const USplineComponent* Spline, double Spacing_cm, TArray<FVector>& OutPoints);- Header
#include "OrbdaleTerrainFeatures.h"- Module
PublicDependencyModuleNames.Add("OrbdaleTerrain");in your module’s Build.cs.- Stability
- Stable: changes within a major version only add.
- Thread
- Game thread (reads the component).
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Spline | const USpline | — | May be null (empty result). |
Spacing_cm | double | — | Clamped to the station spacing limits. |
OutPoints | TArray< | — | Receives the points, world cm; emptied first. |
Note.
Game thread (reads the component).