World2UI With Depth lua method#386
Merged
themrdemonized merged 5 commits intothemrdemonized:all-in-one-vs2022-wpofrom Oct 23, 2025
Merged
World2UI With Depth lua method#386themrdemonized merged 5 commits intothemrdemonized:all-in-one-vs2022-wpofrom
themrdemonized merged 5 commits intothemrdemonized:all-in-one-vs2022-wpofrom
Conversation
Fix filters of vs2022 projects (cherry picked from commit d9bafaf)
…-one-vs2022 # Conflicts: # src/Layers/xrRenderPC_R1/vs2022/xrRender_R1.vcxproj.filters # src/Layers/xrRenderPC_R2/vs2022/xrRender_R2.vcxproj.filters # src/Layers/xrRenderPC_R3/vs2022/xrRender_R3.vcxproj.filters # src/Layers/xrRenderPC_R4/vs2022/xrRender_R4.vcxproj.filters # src/xrEngine/vs2022/xrEngine.vcxproj.filters # src/xrGame/vs2022/xrGame.vcxproj.filters
…/xray-monolith into all-in-one-vs2022
…yer and servers as mark that coordinates are inverted
Owner
|
I think you should specify precisely what this PR does, the title doesn't match the description. Does it fixes wrong position of offscreen entities, or not yet? What does depth have to do with that? |
Contributor
Author
|
@themrdemonized изначально этот метод возвращает позицию обьекта на UI. А когда ты стоишь спиной к объекту для которого тебе нужны координаты, то эти координаты приходят в инвертированном виде. |
47701cd
into
themrdemonized:all-in-one-vs2022-wpo
9 of 10 checks passed
themrdemonized
added a commit
that referenced
this pull request
Jan 24, 2026
World2UI With Depth lua method
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
I am doing a mod that draws anomalies on the ui and I want to draw icons on the edges of the screen when they are offscreen. Currently,
world2uireturns correct coordinate when camera less than 90 degrees to the coordinate but when it's higher engine inverts that value and this PR is an attempt to identify when that happensBasically I want to understand when I should flip world2ui coordinates to draw ui texture where I want it to be
