Property | Type | Description | |
---|---|---|---|
DISTANCE_COUNT | int | ||
SUBLINE_COUNT | int | ||
constantSpeed | bool | ||
distance | float | ||
orientToPath | bool | ||
orientToPath2d | bool | ||
pts | Vector3[] | ||
ptsAdjLength | int |
Method | Description | |
---|---|---|
LTSpline ( Vector3 pts ) : UnityEngine | ||
LTSpline ( Vector3 pts, bool constantSpeed ) : UnityEngine | ||
drawGizmo ( Color color ) : void | ||
drawGizmo ( Transform arr, Color color ) : void | ||
drawLine ( Transform arr, float width, Color color ) : void | ||
drawLinesGLLines ( Material outlineMaterial, Color color, float width ) : void | ||
generateVectors ( ) : Vector3[] | ||
gizmoDraw ( float t = -1.0f ) : void | ||
interp ( float t ) : Vector3 | ||
map ( float u ) : Vector3 | ||
place ( Transform transform, float ratio ) : void | ||
place ( Transform transform, float ratio, Vector3 worldUp ) : void | ||
place2d ( Transform transform, float ratio ) : void | ||
placeLocal ( Transform transform, float ratio ) : void | ||
placeLocal ( Transform transform, float ratio, Vector3 worldUp ) : void | ||
placeLocal2d ( Transform transform, float ratio ) : void | ||
point ( float ratio ) : Vector3 | ||
ratioAtPoint ( Vector3 pt ) : float |
Method | Description | |
---|---|---|
init ( Vector3 pts, bool constantSpeed ) : void |
public LTSpline ( Vector3 pts ) : UnityEngine | ||
pts | Vector3 | |
return | UnityEngine |
public LTSpline ( Vector3 pts, bool constantSpeed ) : UnityEngine | ||
pts | Vector3 | |
constantSpeed | bool | |
return | UnityEngine |
public static drawGizmo ( Transform arr, Color color ) : void | ||
arr | Transform | |
color | Color | |
return | void |
public static drawLine ( Transform arr, float width, Color color ) : void | ||
arr | Transform | |
width | float | |
color | Color | |
return | void |
public drawLinesGLLines ( Material outlineMaterial, Color color, float width ) : void | ||
outlineMaterial | Material | |
color | Color | |
width | float | |
return | void |
public place ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
return | void |
public place ( Transform transform, float ratio, Vector3 worldUp ) : void | ||
transform | Transform | |
ratio | float | |
worldUp | Vector3 | |
return | void |
public place2d ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
return | void |
public placeLocal ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
return | void |
public placeLocal ( Transform transform, float ratio, Vector3 worldUp ) : void | ||
transform | Transform | |
ratio | float | |
worldUp | Vector3 | |
return | void |
public placeLocal2d ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
return | void |