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)
- Input mappings: Learn about how input mappings bridge modalities and interaction types.
- Input hierarchy: Learn about the different input hierarchies.
- Multimodality: Learn about multimodality.
- Ray casting: Learn about indirect interaction through ray casting.
- Touch: Learn about direct interaction through touch.
- Grab: Learn about grab interactions for object manipulation.
- Microgestures: Learn about microgesture interactions.