Support Ui to perform Transform in the world #21514
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preface
I still have many unresolved issues. I am publishing this PR to gain more attention and opinions. Ensure the integrity of this feature.
Existing problems:
UiContain supports Visibility(Controlled by the Root Node)...
Expectations and difficulties:
Objective
Fixes #21278Try #5476
Solution
4.Camera is a screen based "container" for Node Ui, so Containing is a world based "container".
Testing
Did you test these changes? If so, how?
I haven't figured out how to test this feature yet.But I have enabled a new feature for isolation to ensure that other functions are not affected
Are there any parts that need more testing?
It may be necessary to test whether UiContainTarget points to UiSurface and UiContain
How can other people (reviewers) test your changes? Is there anything specific they need to know?
Add UiContactTarget to the normal Node Entity, pointing to UiContain.
Example ui/ui_contain provides the most basic usage examples
Showcase