Bezier docs?

Avatar
  • updated
  • Answered

The documentation makes no mention of Bezier curves, but I found a single reference to Bezier in the forum. Does Shapes support Bezier curves? If so, perhaps add it to the documentation and marketing pitch. :)

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

it partially supports bezier curves right now - when drawing in immediate mode there's polylinePath.BezierTo and ArcTo for circular arcs.

I don't like mentioning it as a primary feature since it doesn't exist for the shapes components yet, it's more of a special feature of polylines in immediate mode drawing right now :)

Avatar
Will Iverson

Hey, that still totally works for me, and also pushes me toward immediate mode for my particular scenario. :)

Are you thinking of putting it into the components...? [Edit, I guess "yet" means it's coming, so of course that begs when...]

Avatar
Freya Holmér creator

not sure - it's a complicated thing for several reasons, more details here!
https://shapes.userecho.com/en/communities/1/topics/42-add-spline-primitive