-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Wireframe configuration #7309
Copy link
Copy link
Closed
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use
Metadata
Metadata
Assignees
Labels
A-RenderingDrawing game state to the screenDrawing game state to the screenC-UsabilityA targeted quality-of-life change that makes Bevy easier to useA targeted quality-of-life change that makes Bevy easier to use
What problem does this solve or what need does it fill?
Currently

Wireframeis a marker component that enables wireframe for its entity. There is also a global switch to enable wireframe on all objecrts.But sometimes it may be necessary to disable only certain entities. In this case I can't use global switch and need to add
Wireframecomponent to every object I spawn except the ones I want to exclude. For example, I want to exclude wireframe for previews I that I generate:What solution would you like?
It would be better if the
Wireframecomponent acted likeVisibility- containing a boolean field to turn it on and off. And global switch could be used to enable or disable the wireframe rendering entirely.