skip to Main Content

Canvas and Ray Casting considerations

X-Frame will automatically manage ray casting for Canvas set to Screen Space Overlay or World Space.

If you experience issues with Camera.ScreenPointToRay function, you should use XFrameManager.instance.ScreenPointToRay function instead, since it takes into account any active downsampling factor applied to the camera target.

Back To Top