Open qiqi233 opened 2 hours ago
Or can you provide a method that allows me to obtain the buffer color data (RGBA format) of the current web page in real time?
Since this ask is critical for you, have you tried injecting JavaScript into the web page to detect the transparency of elements at the mouse position. You can then use web messaging to communicate this information back to your host application.
Would love to hear your thoughts.
My main concern is whether it is universal for all web pages, through JavaScript scripts, sorry I am not very familiar with JavaScript
My main concern is whether it is universal for all web pages, through JavaScript scripts, sorry I am not very familiar with JavaScript
Describe the feature/enhancement you need
Can I pick up the transparency of the web page at the mouse position?
The scenario/use case where you would use this feature
When I use webview2, I embed it in my 3D program (UnrealEngine). I want to realize the function of mouse penetration of web pages. When my mouse picks up the transparency value of 0, all interactions with webview2 will be disabled. Otherwise, I can interact with webview2.
How important is this request to you?
Critical. My app's basic functions wouldn't work without it.
Suggested implementation
I hope there is a way to get the transparency of the web page at the current mouse position in real time (for example: GetCurrentMousePositionTransparent), so that I can continue with the following operations
What does your app do? Is there a pending deadline for this request?
无