Samples Scenes
This guide provides and overview of the currently available sample scenes for the MRTK3 Magic Leap 2 plugin.
Prerequisites
Install the Samples
- Go to
Window > Package Manager
and find the Magic Leap MRTK3 package installed in your project. - In the package inspector view, select the Samples tab and click the Import button next to the desired samples to import them into the project.
MRTK3 Samples Overview
Hand and Controller Interaction Examples
This simple scene demonstrates a working example on the Magic Leap 2, with both hand and Magic Leap Controller interactions.
Eye Tracking Examples
This simple scene demonstrates a working example on the Magic Leap 2, with Eye Tracking. To enable Eye Tracking, please go to Player Settings > MRTK3 > Magic Leap Settings, to enable both Auto Request
and EYE_TRACKING
, to handle runtime permission config.
Spatial Awareness Examples
This simple scene demonstrates a working example on the Magic Leap 2, with Spatial Mapping. To enable Spatial Mapping, please go to Player Settings > MRTK3 > Magic Leap Settings, to enable both Auto Request
and SPATIAL_MAPPING
, to handle runtime permission config.
Keyword Recognition Examples
This Example scene demonstrates keyword recognition. For Voice Input to work, users need to enable Voice Input on their Magic Leap 2 Device inside the System Settings application. enable voice input, please go to Player Settings > MRTK3 > Magic Leap Settings, to enable both Auto Request
and VOICE_INPUT
, to handle runtime permission config.
Global and Segmented Dimmer Examples
This Example scene demonstrates the global and segmented dimmer. Note this feature only works when deployed to a Magic Leap 2 device.