Classes | |
| class | LineCap |
Public Member Functions | |
| void | Draw (UICLineRenderer lineRenderer) |
| void | SetPoints (Vector2[] newPoints) |
| Replace all points by the newPoints More... | |
| float | GetLength () |
| System.Tuple< Vector2, float > | LerpLine (float pos01) |
| returns point in the line based on percent from 0 to 1 More... | |
| System.Tuple< Vector2, float > | LerpLineLength (float posLength) |
| returns point in the line based on length More... | |
| Line | Clone () |
Public Attributes | |
| LineCap | capStart |
| LineCap | capEnd |
| string | ID = "line" |
| float | startWidth = 3 |
| float | endWidth = 3 |
| float | dashDistance = 5 |
| Color | color = new Color(0.98f, 0.94f, 0.84f) |
| List< Vector2 > | points = new List<Vector2>() |
| LineStyle.Type | lineStyle = LineStyle.Type.Solid |
| float | length |
| LineAnimation | animation = new LineAnimation() |
|
inline |
returns point in the line based on percent from 0 to 1
| pos01 | percent from 0 to 1 |
|
inline |
returns point in the line based on length
| pos01 | target legth |
|
inline |
Replace all points by the newPoints
| newPoints |