Skip to content
Discussion options

You must be logged in to vote

Unfortunatelly, you can't set line width and point size. Thats because you are using the graphics api with a thin layer here which does not support this approach. Setting width for something can't be a material, because a material typically does not alter the mesh.
But you can draw a stretched quad. A quad and its mesh are already implemented in bevy (Mesh::from(mesh::shape::Quad)). Just scale it to your needs. Now you can have a line with width. A thicker point can be also be achieved with triangles or any approximation.
Im not familiar with PointList.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@carlbean
Comment options

Answer selected by carlbean
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants