cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Texture Coords to Raycast on UI?

Jepplen
Explorer
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
1 REPLY 1

Jepplen
Explorer
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.