Skip to content

Wireframe configuration #7309

@Shatur

Description

@Shatur

What problem does this solve or what need does it fill?

Currently Wireframe is 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 Wireframe component 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 Wireframe component acted like Visibility - containing a boolean field to turn it on and off. And global switch could be used to enable or disable the wireframe rendering entirely.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-UsabilityA targeted quality-of-life change that makes Bevy easier to use

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions