UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FSplineMeshParams Struct Reference

#include <SplineMeshComponent.h>

Public Member Functions

 FSplineMeshParams ()
 

Public Attributes

FVector StartPos
 
FVector StartTangent
 
FVector2D StartScale
 
float StartRoll
 
float EndRoll
 
FVector2D StartOffset
 
FVector EndPos
 
FVector2D EndScale
 
FVector EndTangent
 
FVector2D EndOffset
 
float NaniteClusterBoundsScale
 

Detailed Description

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!

Constructor & Destructor Documentation

◆ FSplineMeshParams()

FSplineMeshParams::FSplineMeshParams ( )
inline

Member Data Documentation

◆ EndOffset

FVector2D FSplineMeshParams::EndOffset

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

◆ EndPos

FVector FSplineMeshParams::EndPos

End location of spline, in component space.

◆ EndRoll

float FSplineMeshParams::EndRoll

Roll around spline applied at end, in radians.

◆ EndScale

FVector2D FSplineMeshParams::EndScale

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

◆ EndTangent

FVector FSplineMeshParams::EndTangent

End tangent of spline, in component space.

◆ NaniteClusterBoundsScale

float FSplineMeshParams::NaniteClusterBoundsScale

How much to scale the calculated culling bounds of Nanite clusters after deformation. NOTE: This should only be set greater than 1.0 if it fixes visible issues with clusters being incorrectly culled.

◆ StartOffset

FVector2D FSplineMeshParams::StartOffset

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

◆ StartPos

FVector FSplineMeshParams::StartPos

Start location of spline, in component space.

◆ StartRoll

float FSplineMeshParams::StartRoll

Roll around spline applied at start, in radians.

◆ StartScale

FVector2D FSplineMeshParams::StartScale

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

◆ StartTangent

FVector FSplineMeshParams::StartTangent

Start tangent of spline, in component space.


The documentation for this struct was generated from the following file: