DeskSim v2 0.1
Train simulator prototype created for Lokførerskolen
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
ASplineActor Class Reference
Inheritance diagram for ASplineActor:
IIsSaveableInterface

Public Member Functions

void OnConstruction (const FTransform &Transform) override
 Called on construction of class, generates a mesh for each point in the spline. More...
 
virtual void Tick (float DeltaTime) override
 

Public Attributes

USplineComponent * SplineComponent
 
UStaticMesh * RailwayMesh
 
UStaticMesh * BufferStopStartMesh
 
UStaticMesh * BufferStopEndMesh
 
TEnumAsByte< ESplineMeshAxis::Type > ForwardAxis
 
int DistanceBetweenSplinePoints
 The number of meshes between each generated splinepoint.
 
float MaxHeightAllowed
 The maximum change of height allowed along the spline.
 
float MaxAngleAllowed
 The maximum change of angle allowed along the spline.
 
bool bTrackTooSteep
 True if the track changes in height more than allowed.
 
bool bTrackTooWinding
 True if the track changes in angle more than allowed.
 

Protected Member Functions

virtual void BeginPlay () override
 

Member Function Documentation

◆ OnConstruction()

void ASplineActor::OnConstruction ( const FTransform &  Transform)
override

Called on construction of class, generates a mesh for each point in the spline.

Parameters
Transform

The documentation for this class was generated from the following files: