Use Dashed Lines with Polylines ?
Hi, i succeed to make my trajectory with polyline but i would like to know if that is possible to transform this polyline into several dashed lines ?
Reporting a bug? please specify Unity version:
Reporting a bug? please specify Shapes version:
Reporting a bug? please specify Render Pipeline:
Built-in render pipeline
You can either set colors before adding them to the polylinepath, or you can modify the points you've already added to the path
Ok thanks you, is that possible to know the size of a PolylinePath ?
You can either set colors before adding them to the polylinepath, or you can modify the points you've already added to the path
yeah, or modify them before drawing, or use the global color value of the polyline itself
Sorry to ask you a lot but im a beginner at this. What do you mean by modifying them before drawing, is that not the same than changing color before adding them into my PolylinePath ? And second, how do we use global color value of polyline ?
Im using this just before the drawing : Poly.AddPoints(trajectory, thickness); I had all points of trajectory, so i have to change color of point in trajectory before adding them into Poly (which is my PolylinePath)?
yeah, or modify them before drawing, or use the global color value of the polyline itself
sure, you can change colors of both components and set color in immediate mode. or set colors of individual points in the polyline
Im using this just before the drawing : Poly.AddPoints(trajectory, thickness); I had all points of trajectory, so i have to change color of point in trajectory before adding them into Poly (which is my PolylinePath)?
Thanks i will look at it, and is that possible to change color during time for Polyline ?
sure, you can change colors of both components and set color in immediate mode. or set colors of individual points in the polyline
Dashed polylines: https://shapes.userecho.com/communities/1/topics/19-dashed-polylines
Spline scene: https://shapes.userecho.com/communities/1/topics/42-add-spline-primitive
Thanks i will look at it, and is that possible to change color during time for Polyline ?
Dashed polylines: https://shapes.userecho.com/communities/1/topics/19-dashed-polylines
Spline scene: https://shapes.userecho.com/communities/1/topics/42-add-spline-primitive
And my second question is : how did you make this ?