FSplineMeshParams

Structure that holds info about spline, passed to renderer to deform [UStaticMesh](API\Runtime\Engine\Engine\UStaticMesh).

Windows
MacOS
Linux

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

Name Description

Public variable

FVector2D

 

EndOffset

Ending offset of the mesh from the spline, in component space.

Public variable

FVector

 

EndPos

End location of spline, in component space.

Public variable

float

 

EndRoll

Roll around spline applied at end.

Public variable

FVector2D

 

EndScale

X and Y scale applied to mesh at end of spline.

Public variable

FVector

 

EndTangent

End tangent of spline, in component space.

Public variable

FVector2D

 

StartOffset

Starting offset of the mesh from the spline, in component space.

Public variable

FVector

 

StartPos

Start location of spline, in component space.

Public variable

float

 

StartRoll

Roll around spline applied at start

Public variable

FVector2D

 

StartScale

X and Y scale applied to mesh at start of spline.

Public variable

FVector

 

StartTangent

Start tangent of spline, in component space.

Constructors

Name Description

Public function

FSplineMeshParams()

References

Module

Engine

Header

Runtime/Engine/Classes/Components/SplineMeshComponent.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback