Nilirad / bevy_prototype_lyon

Draw 2D shapes in Bevy
Apache License 2.0
702 stars 87 forks source link

Is it possible to render via the UiCamera instead of OrthographicCamera? #149

Open kobaj opened 2 years ago

kobaj commented 2 years ago

Hello,

I'm wanting to use the PathBuilder example but instead of OrthographicCameraBundle I would like to use the UiCameraBundle. is that possible?

I'm hoping to use PathBuilder to draw my UI, that way my UI stays "fixed" in place. Kind of like how TextBundle is for the UI and renders relative to the window vs the Text2dBundle which renders relative to the world.

Nilirad commented 2 years ago

Unfortunately it's no longer possible. It was supported in the master branch some months ago, but it had to be removed to accommodate to the changes for the new bevy renderer.