Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

How to use Texture Coords to Raycast on UI?

JepplenJepplen Posts: 18
NerveGear
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

Comments

  • JepplenJepplen Posts: 18
    NerveGear
    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.
Sign In or Register to comment.