MD Package Technical & APi Documentation
Introduction
Bases
MD_MeshBase
MD_ModifierBase
MD_GeometryBase
CoreTools
MD_MeshProEditor
MD_MeshColliderRefresher
MD_MeshEditorRuntimeAxisGizmo
MD_MeshEditorRuntimePullPushGrab
MD_MeshEditorRuntimeVR
Preferences
MD_Preferences
Modifiers
MDM_AngularBend
MDM_Bend
MDM_FFD
MDM_InteractiveSurface
MDM_MeshCut
MDM_MeshDamage
MDM_MeshDamageGPU
MDM_MeshEffector
MDM_MeshFit
MDM_MeshNoise
MDM_MeshSlime
MDM_Morpher
MDM_SculptingLite
MDM_SoundReact
MDM_Twist
Splines
MDM_SplineHandler
MDM_SplineBinder
MDM_SplineInstanceDistributor
MDM_SplineShapePresets
Geometry
MDG_Cone
MDG_Cube
MDG_HexagonGrid
MDG_Octahedron
MDG_ProceduralExtendedPlane
MDG_ProceduralPlane
MDG_Sphere
MDG_Torus
MDG_Triangle
MDG_Tube
MeshPainting
MDG_MeshPaintingRuntime
MDG_MeshPaintingSource
SplineGeometry
MDG_SplineLineRenderer
MDG_SplinePathEditor
MDG_SplineTunnelEditor
Utilities
MDUtil_PackageSpecifics
MDUtil_Perlin
MDUtil_Transformations
MeshUtils
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)