|
TrackFlow Pro Documentation 1
Generate roller coasters, railroads, conveyors and more with a physics aware spline and meshing system.
|
A helper class to arrange and align the spline bezier handles in various ways. Enable in the menu Tools > TrackFlow > Sync Bezier Handles To Tangent On Frame Edit. More...
Static Public Member Functions | |
| static bool | SupportsBezierHandleUtilities (TrackFlowSpline spline) |
| Check if a spline supports the handle utilities. | |
| static void | AlignOutToIn (TrackFlowSpline spline, int knotIndex) |
| Align the out handle to the in handle. | |
| static void | AlignInToOut (TrackFlowSpline spline, int knotIndex) |
| Align the in handle with the out handle. | |
| static void | MirrorBothHandles (TrackFlowSpline spline, int knotIndex) |
| Mirror the handles, prioritize out handle position over in handle position. | |
| static void | StraightenBothToTangent (TrackFlowSpline spline, int knotIndex) |
| Align both handles to the frame tangent. | |
| static void | StraightenOutToTangent (TrackFlowSpline spline, int knotIndex) |
| Align the out handle with the frame tangent. | |
| static void | StraightenInToTangent (TrackFlowSpline spline, int knotIndex) |
| Align the in handle to the frame tangent. | |
| static void | ZeroIn (TrackFlowSpline spline, int knotIndex) |
| Zero out the in handle. | |
| static void | ZeroOut (TrackFlowSpline spline, int knotIndex) |
| Zero out the out handle. | |
| static void | SyncHandlesToCurrentTangent (TrackFlowSpline spline, int knotIndex, bool syncIn, bool syncOut) |
| Align either handle to the frame tangent given a knot index. | |
Properties | |
| static bool | SyncHandlesToTangentOnFrameEdit [get, set] |
Static Private Member Functions | |
| static void | ToggleSyncHandlesToTangent () |
| static bool | ToggleSyncHandlesToTangentValidate () |
| static bool | TryGetKnot (TrackFlowSpline spline, int knotIndex, out TrackFlowKnot knot) |
| static float | GetHandleLengthWorld (TrackFlowSpline spline, Vector3 localOffset) |
| static Vector3 | GetTangentWorldOrFallback (TrackFlowSpline spline, int knotIndex) |
| static float | EstimateDefaultHandleLengthWorld (TrackFlowSpline spline, int knotIndex) |
Static Private Attributes | |
| const string | PrefKeySyncToTangent |
| const string | MenuPath |
A helper class to arrange and align the spline bezier handles in various ways. Enable in the menu Tools > TrackFlow > Sync Bezier Handles To Tangent On Frame Edit.
|
static |
Align the in handle with the out handle.
| spline | |
| knotIndex |
|
static |
Align the out handle to the in handle.
| spline | |
| knotIndex |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
Mirror the handles, prioritize out handle position over in handle position.
| spline | |
| knotIndex |
|
static |
Align both handles to the frame tangent.
| spline | |
| knotIndex |
|
static |
Align the in handle to the frame tangent.
| spline | |
| knotIndex |
|
static |
Align the out handle with the frame tangent.
| spline | |
| knotIndex |
|
static |
Check if a spline supports the handle utilities.
| spline |
|
static |
Align either handle to the frame tangent given a knot index.
| spline | |
| knotIndex | |
| syncIn | |
| syncOut |
|
staticprivate |
|
staticprivate |
|
staticprivate |
|
static |
Zero out the in handle.
| spline | |
| knotIndex |
|
static |
Zero out the out handle.
| spline | |
| knotIndex |
|
staticprivate |
|
staticprivate |
|
staticgetset |