FSplineMeshParams

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

Windows
MacOS
Linux

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

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()

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss