Skip to main content
Inspiring
February 13, 2020

How to use Texture Coords to Raycast on UI?

Is it possible to use Texture Coords to cast a ray on a canvas UI?

I'm extracting the texture coords from a rendertexture and now I want to cast these coords onto a canvas UI.
I've been looking through the OVRRaycaster script, but I can't make heads or tails on what kind of parameters it needs to cast a graphic raycast.

Any help would be greatly appreciated.
Jesper
This topic has been closed for replies.

1 reply

JepplenAuthor
Inspiring
February 18, 2020
Maybe it's possible to feed the texturecoords into the OVRInputModule to fake the input?
But where?
I can't seem to find the right spot.