Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/SplineMeshComponent.h |
| Include | #include "Components/SplineMeshComponent.h" |
Syntax
struct FSplineMeshParams
Remarks
Structure that holds info about spline, passed to renderer to deform UStaticMesh. Also used by Lightmass, so be sure to update Lightmass::FSplineMeshParams and the static lighting code if this changes!
Variables
| Type | Name | Description | |
|---|---|---|---|
| FVector2D | EndOffset | Ending offset of the mesh from the spline, in component space. | |
| FVector | EndPos | End location of spline, in component space. | |
| float | EndRoll | Roll around spline applied at end, in radians. | |
| FVector2D | EndScale | X and Y scale applied to mesh at end of spline. | |
| FVector | EndTangent | End tangent of spline, in component space. | |
| FVector2D | StartOffset | Starting offset of the mesh from the spline, in component space. | |
| FVector | StartPos | Start location of spline, in component space. | |
| float | StartRoll | Roll around spline applied at start, in radians. | |
| FVector2D | StartScale | X and Y scale applied to mesh at start of spline. | |
| FVector | StartTangent | Start tangent of spline, in component space. |
Constructors
| Type | Name | Description | |
|---|---|---|---|