G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FSplineMeshParams Struct Reference

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! More...

Public Member Functions

Functions
FSplineMeshParams & opAssign (FSplineMeshParams Other)

Public Attributes

SplineMesh
FVector EndPos
 End location of spline, in component space.
FVector StartTangent
 Start tangent of spline, in component space.
FVector2D StartScale
 X and Y scale applied to mesh at start of spline.
float32 StartRoll
 Roll around spline applied at start, in radians.
FVector2D StartOffset
 Starting offset of the mesh from the spline, in component space.
FVector StartPos
 Start location of spline, in component space.
FVector2D EndScale
 X and Y scale applied to mesh at end of spline.
FVector EndTangent
 End tangent of spline, in component space.
float32 EndRoll
 Roll around spline applied at end, in radians.
FVector2D EndOffset
 Ending offset of the mesh from the spline, in component space.
float32 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.

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!

Member Function Documentation

◆ opAssign()

FSplineMeshParams & opAssign ( FSplineMeshParams Other)

Member Data Documentation

◆ EndOffset

FVector2D EndOffset

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

◆ EndPos

FVector EndPos

End location of spline, in component space.

◆ EndRoll

float32 EndRoll

Roll around spline applied at end, in radians.

◆ EndScale

FVector2D EndScale

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

◆ EndTangent

FVector EndTangent

End tangent of spline, in component space.

◆ NaniteClusterBoundsScale

float32 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 StartOffset

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

◆ StartPos

FVector StartPos

Start location of spline, in component space.

◆ StartRoll

float32 StartRoll

Roll around spline applied at start, in radians.

◆ StartScale

FVector2D StartScale

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

◆ StartTangent

FVector StartTangent

Start tangent of spline, in component space.