-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Visibility for retained gizmos #22053
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
base: main
Are you sure you want to change the base?
Visibility for retained gizmos #22053
Conversation
- set `Visibility` as a required component on `Gizmo` components in `GizmoRenderPlugin` - update `extract_linegizmos` to take view visibility into account - update the 3d_gizmos example to toggle visibility of the retained gizmo in the scene investigating the feasibility of attaching an AABB to the gizmo for better visibility testing will build a `retained_gizmos` example to better demonstrate the feature. it's kind of crammed into the current example code
- add a visibility class to the gizmo - calculate AABBs for the gizmos - start a new example for retained gizmos
4917325 to
d07ee96
Compare
|
it occurs to me that it is probably possible to make the |
I think this is feasible but it lends itself to a bit of a scope expansion because there are at least two different ways this is currently happening, possibly more I haven't found yet. I'll address it in another more targeted PR |
Objective
Solution
Testing