프로퍼티 | 타입 | 설명 | |
---|---|---|---|
DISTANCE_COUNT | int | ||
SUBLINE_COUNT | int | ||
constantSpeed | bool | ||
distance | float | ||
orientToPath | bool | ||
orientToPath2d | bool | ||
pts | Vector3[] | ||
ptsAdjLength | int |
메소드 | 설명 | |
---|---|---|
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 |
메소드 | 설명 | |
---|---|---|
init ( Vector3 pts, bool constantSpeed ) : void |
public LTSpline ( Vector3 pts, bool constantSpeed ) : UnityEngine | ||
pts | Vector3 | |
constantSpeed | bool | |
리턴 | UnityEngine |
public static drawGizmo ( Transform arr, Color color ) : void | ||
arr | Transform | |
color | Color | |
리턴 | void |
public static drawLine ( Transform arr, float width, Color color ) : void | ||
arr | Transform | |
width | float | |
color | Color | |
리턴 | void |
public drawLinesGLLines ( Material outlineMaterial, Color color, float width ) : void | ||
outlineMaterial | Material | |
color | Color | |
width | float | |
리턴 | void |
public place ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
리턴 | void |
public place ( Transform transform, float ratio, Vector3 worldUp ) : void | ||
transform | Transform | |
ratio | float | |
worldUp | Vector3 | |
리턴 | void |
public place2d ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
리턴 | void |
public placeLocal ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
리턴 | void |
public placeLocal ( Transform transform, float ratio, Vector3 worldUp ) : void | ||
transform | Transform | |
ratio | float | |
worldUp | Vector3 | |
리턴 | void |
public placeLocal2d ( Transform transform, float ratio ) : void | ||
transform | Transform | |
ratio | float | |
리턴 | void |