RayExamples Scene
Updated: Nov 3, 2025
The
RayExamples scene showcases the
RayInteractor interacting with a curved Unity canvas using the
CanvasCylinder component.
The RayExamples scene can be found in the Unity Project window under Assets > Samples > Meta XR Interaction SDK > VERSION > Example Scenes.
Note: You might need to import the sample from Interaction SDK’s Sample section in Unity Package Manager.
- Ray interactions with a Unity canvas.
- Hand interactions use the system pointer pose and pinch for selection.
- Ray interactions use the controller pose for ray direction and trigger for selection.
- Curved surfaces that allow for various material types: Alpha Cutout, Alpha Blended, and Underlay (only viewable on-device)