TrackFlow Pro Documentation 1
Generate roller coasters, railroads, conveyors and more with a physics aware spline and meshing system.
Loading...
Searching...
No Matches
TrackFlowPro.Runtime.Core.Meshing Namespace Reference

Classes

class  ColdWheelsRoadMeshBuilder
class  CrossSectionProfile2D
class  CrossSectionProfile2DAsset
 Reusable 2D cross-section profile asset. Useful for building a profile "library" that can be shared across multiple spawners. More...
class  CustomProfileMeshBuilder
 Mesh builder that extrudes an arbitrary 2D cross section along the sampled spline polyline. More...
interface  ICrossSectionProfile2D
class  PipeMeshBuilder
class  PolylineExtruder
class  RoadMeshBuilder
struct  ForceComputeSettings
struct  CurvatureSampleData
class  CurvaturePreviewUtil2
class  ForcePreviewSettings
interface  ITrackMeshBuilder
class  MeshingUtils
struct  SpawnJitter
 Randomized offsets along the curve. More...
class  TrackFlowSpawner
 Instantiate a mesh along the TrackFlowSpline. This is for discrete mesh pieces. If you want a pipe or road those are built into the Mesh settings within TrackFlowSpline. More...

Enumerations

enum  ForceModel { Inertial , InertialWithLongitudinal , CoasterEnergy }
enum  OutputFrame { TrackFrame , TrackT_GravityUp , WorldAxes }
enum  SpeedLaw { Constant , Profile01 , Energy }
enum  CurvaturePreviewMode {
  Curvature , Torsion , ForwardG , LateralG ,
  VerticalG , CombinedCurvatureTorsionG , CurvatureSigned , TwistRate ,
  GTotal , ForwardGAbs , LateralGAbs , VerticalGAbs ,
  BankSignedDeg , BankAbsDeg , BankToZeroLateralDeg
}
enum  TrackMeshType { Road , Pipe , UTrack , Custom }
 Type of track mesh to generate. More...
enum  SpawnJitterVolume { Line , BoxLocal }
 how to distribute objects along the spline More...
enum  SurfaceSnapDirectionMode { WorldDown , TrackBinormalDown , TrackNormalDown }
 How to cast rays when snapping to surfaces. More...
enum  SpawnMethod { Mesh , Object }

Enumeration Type Documentation

◆ CurvaturePreviewMode

Enumerator
Curvature 
Torsion 
ForwardG 
LateralG 
VerticalG 
CombinedCurvatureTorsionG 
CurvatureSigned 
TwistRate 
GTotal 
ForwardGAbs 
LateralGAbs 
VerticalGAbs 
BankSignedDeg 
BankAbsDeg 
BankToZeroLateralDeg 

◆ ForceModel

Enumerator
Inertial 

Gravity + centripetal (from curvature vector) at a speed law.

InertialWithLongitudinal 

Inertial + longitudinal acceleration along tangent (launch/braking).

CoasterEnergy 

Speed is derived from gravity potential energy (coaster-like): v^2 = v0^2 + 2*g*(h0 - h) - lossPerMeter*s (clamped) Then forces computed with that v(s).

◆ OutputFrame

Enumerator
TrackFrame 
TrackT_GravityUp 
WorldAxes 

◆ SpawnJitterVolume

how to distribute objects along the spline

Enumerator
Line 
BoxLocal 

◆ SpawnMethod

Enumerator
Mesh 
Object 

◆ SpeedLaw

Enumerator
Constant 

Use settings.referenceSpeed everywhere.

Profile01 

Use settings.referenceSpeed * speedScale01(u01).

Energy 

Only meaningful for CoasterEnergy model (ignored otherwise).

◆ SurfaceSnapDirectionMode

How to cast rays when snapping to surfaces.

Enumerator
WorldDown 
TrackBinormalDown 
TrackNormalDown 

◆ TrackMeshType

Type of track mesh to generate.

Enumerator
Road 
Pipe 
UTrack 
Custom