Polyline point radius

Avatar
  • updated
  • Answered

Hi there,

I am happy to use Shapes, however I wish there was an easy way for me to work with the border radius on the points on a polyline.

If it is unclear what I am trying to achieve, then look at Figma's way to work with border radius on a vector line:

Image 284

If you or anyone know any other method to do this, i am happy to take your advice! Right now I am using the linerenderer tool which doesn't do the trick for me. 

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
Pinned replies
Avatar
Freya Holmér creator
  • Answer
  • Answered

right now this unfortunately isn't possible using components, but it is possible in immediate mode rendering using the ArcTo functions, which do allow you to specify a radius!

that being said, if I add support for this in components in the future, it'll very likely be part of the same update as the one adding support for splines
https://shapes.userecho.com/en/communities/1/topics/42-add-spline-primitive

Avatar
Freya Holmér creator
  • Answer
  • Answered

right now this unfortunately isn't possible using components, but it is possible in immediate mode rendering using the ArcTo functions, which do allow you to specify a radius!

that being said, if I add support for this in components in the future, it'll very likely be part of the same update as the one adding support for splines
https://shapes.userecho.com/en/communities/1/topics/42-add-spline-primitive