MD Package Technical & APi Documentation
MDG_SplinePathEditor
Namespace: MDPackage.Geometry
Complete spline-based path editor direclty at runtime or in Unity Editor.
Read more here (Online documentation slide)
Properties
// Target spline handler for the path editor
public MDM_SplineHandler SplineHandler { get; set; }

public int ResolutionPerSpline { get; set; }
public float Radius { get; set; }
public Vector2 UvTiling { get; set; }
public bool RevertAngles { get; set; }
// Plane rotation mode along the spline (AdaptiveTangent, UpwardDirection, Custom)
public RotationMode CurrentRotationMode { get; set; }
public Vector3 UpwardDirection { get; set; }
Public Methods
// Create the spline path editor automatically
public static void CreateGeometry()

// Update the procedural mesh along the target spline
public void UpdateProceduralMesh(bool clearAndReinitialize)