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.TrackFlowKnot Class Referencesealed

A single knot in your TrackFlow spline editor. "Curve Type" governs the segment between this knot and the next knot. More...

Public Member Functions

void SetWorldFrame (Vector3 t, Vector3 n, Vector3 b)
 TrackFlowKnot (TrackFlowSpline parent)
object Clone ()
void AlignBezierHandlesAtLength (float length)

Public Attributes

Vector3 positionLS = Vector3.zero
Vector3 T_LS = Vector3.forward
Vector3 N_LS = Vector3.right
Vector3 B_LS = Vector3.up
float drivenRollDegrees = 0f
TrackFlowCurveType curveType = TrackFlowCurveType.Line
ArcOptions arc = new()
ClothoidOptions clothoid = new()
CurveSpecOptions curveSpec = new()
TrackModifierOptions trackModOpts = new()
Vector3 bezierInOffsetLS = Vector3.left * 0.8f
Vector3 bezierOutOffsetLS = Vector3.right * 0.8f
TrackFlowSpline Parent

Properties

Vector3 positionWS [get]
Vector3 T_WS [get, set]
Vector3 N_WS [get, set]
Vector3 B_WS [get, set]

Private Member Functions

void OrthonormalizeLocal ()

Detailed Description

A single knot in your TrackFlow spline editor. "Curve Type" governs the segment between this knot and the next knot.

Constructor & Destructor Documentation

◆ TrackFlowKnot()

TrackFlowPro.Runtime.TrackFlowKnot.TrackFlowKnot ( TrackFlowSpline parent)

Member Function Documentation

◆ AlignBezierHandlesAtLength()

void TrackFlowPro.Runtime.TrackFlowKnot.AlignBezierHandlesAtLength ( float length)

◆ Clone()

object TrackFlowPro.Runtime.TrackFlowKnot.Clone ( )

◆ OrthonormalizeLocal()

void TrackFlowPro.Runtime.TrackFlowKnot.OrthonormalizeLocal ( )
private

◆ SetWorldFrame()

void TrackFlowPro.Runtime.TrackFlowKnot.SetWorldFrame ( Vector3 t,
Vector3 n,
Vector3 b )

Member Data Documentation

◆ arc

ArcOptions TrackFlowPro.Runtime.TrackFlowKnot.arc = new()

◆ B_LS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.B_LS = Vector3.up

◆ bezierInOffsetLS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.bezierInOffsetLS = Vector3.left * 0.8f

◆ bezierOutOffsetLS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.bezierOutOffsetLS = Vector3.right * 0.8f

◆ clothoid

ClothoidOptions TrackFlowPro.Runtime.TrackFlowKnot.clothoid = new()

◆ curveSpec

CurveSpecOptions TrackFlowPro.Runtime.TrackFlowKnot.curveSpec = new()

◆ curveType

TrackFlowCurveType TrackFlowPro.Runtime.TrackFlowKnot.curveType = TrackFlowCurveType.Line

◆ drivenRollDegrees

float TrackFlowPro.Runtime.TrackFlowKnot.drivenRollDegrees = 0f

◆ N_LS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.N_LS = Vector3.right

◆ Parent

TrackFlowSpline TrackFlowPro.Runtime.TrackFlowKnot.Parent

◆ positionLS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.positionLS = Vector3.zero

◆ T_LS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.T_LS = Vector3.forward

◆ trackModOpts

TrackModifierOptions TrackFlowPro.Runtime.TrackFlowKnot.trackModOpts = new()

Property Documentation

◆ B_WS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.B_WS
getset

◆ N_WS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.N_WS
getset

◆ positionWS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.positionWS
get

◆ T_WS

Vector3 TrackFlowPro.Runtime.TrackFlowKnot.T_WS
getset

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