Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting color and transparency_group for all entities in model #299

Open
FredrikNoren opened this issue Apr 13, 2023 · 4 comments
Open

Setting color and transparency_group for all entities in model #299

FredrikNoren opened this issue Apr 13, 2023 · 4 comments
Labels
enhancement New feature or request topic:rendering Rendering architecture and implementation

Comments

@FredrikNoren
Copy link
Contributor

We currently have outline_recursive, which will apply the outline to all child entities. We could do something similar (color_recursive and transparency_group_recursive). Or we could try to figure out some more general solution to this.

@FredrikNoren FredrikNoren added enhancement New feature or request topic:rendering Rendering architecture and implementation labels Apr 13, 2023
@philpax
Copy link
Contributor

philpax commented Apr 13, 2023

entity::set_component_recursive or entity::set_component_for_hierarchy maybe?

@FredrikNoren
Copy link
Contributor Author

@philpax Well the user would then have to somehow wait until the model is loaded and then run those.

@philpax
Copy link
Contributor

philpax commented Apr 13, 2023

Hm, good point... we probably want a way of detecting that as well, but I'm not sure when it would fire (like how do you say loading is "done" if the user can keep attaching components to it to load more things?)


In the meantime I'm fine with transparency_group_recursive, we can figure out a more general solution later

@droqen
Copy link

droqen commented Jul 23, 2023

Made a discussion about two-entity queries which could be the form of a possible 'more general solution': #600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic:rendering Rendering architecture and implementation
Projects
None yet
Development

No branches or pull requests

3 participants