Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

com.magicleap.mrtk3

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

com.magicleap.mrtk3 - npm Package Compare versions

Comparing version 1.0.0-pre.7.1 to 1.0.0

Runtime/Common/Prefabs/StereoConvergenceDetector.meta

11

CHANGELOG.md
# Changelog
## 1.0.0
### Features
- Incorporated better pinch detection and then retention when hand keypoints become occluded.
- Added a `StereoConvergenceDetector` utility prefab to assist in utilizing Magic Leap's camera focus distance feature, which provides better capture alignment along with reduction/removal of "judder" on device in some scenarios. Please see the **Stereo Convergence Detector Examples** for a demonstration of the feature.
- The **Spatial Awareness Examples** sample was updated to work when using the OpenXR provider.
### Bugfixes
- Fixed an issue where the `Setting for XR Provider` choice dropdown in **Edit** > **Project Settings** > **MRTK3** > **Magic Leap Settings** was potentially getting reset when re-visiting the page. This didn't affect any options, just may have been undesirable.
## 1.0.0-pre.7.1

@@ -4,0 +15,0 @@ ### Bugfixes

7

package.json
{
"name": "com.magicleap.mrtk3",
"displayName": "Magic Leap MRTK3",
"version": "1.0.0-pre.7.1",
"version": "1.0.0",
"unity": "2022.2",

@@ -55,4 +55,9 @@ "description": "This package enables and provides utilities for MRTK3 development on the Magic Leap 2.",

"path": "Samples~/GlobalAndSegmentedDimmerExamples"
},
{
"displayName": "Stereo Convergence Detector Examples",
"description": "Example scene demonstrating the Stereo Convergence Detector.",
"path": "Samples~/StereoConvergenceDetectorExamples"
}
]
}

58

README.md
# Magic Leap MRTK3 Package
This package adds support for Magic Leap devices when using the
Mixed Reality Toolkit 3 (MRTK3).
This package enables and provides utilities for MRTK3 development on the Magic Leap 2.
## Current Status
## Features
| Feature | Status |
| Input Support | *Description* |
|--|--|
| Controller | Pre-Release |
| Hand Tracking | Pre-Release |
| Eye Tracking | Pre-Release |
| Keyword Recognition | Pre-Release |
| ML2 Controller | *Support for the Magic Leap 2 Controller, with rig interactor prefab and visual model.* |
| Hand Tracking | *Support for hand tracking, with options to choose the hand ray type and multimodal mode when used in conjunction with the ML2 Controller.* |
| Eye Tracking | *Support for eye tracking and eye gaze interactions.* |
| Keyword Recognition | *Support for MRTK3's Keyword Recognition Subsystem, along with "See it, Say it" labels.* |
### Important Note
| Utilities | *Description* |
|--|--|
| Magic Leap Settings | *Our settings provide various options and utilities to make development easier on the Magic Leap 2. This includes things like automatic permission requests and runtime configuration of the default MRTK rig for input compatibility and optimization on ML2.* |
| StereoConvergenceDetector | *A utility prefab that can be used in a scene to assist in detecting the user's focus point (what they are looking at) and setting Magic Leap 2's camera focus distance. Setting the focus distance properly provides better capture alignment along with reducing "judder" on device. Located in `/Runtime/Common/Prefabs/StereoConvergenceDetector/`.* |
| TrackedHandJointVisualizer | *A utility prefab to visualize the tracked hand joints with labeled keypoints. Located in `/Runtime/Common/Prefabs/TrackedHandJointVisuals/`.* |
This package is an early access version. This means features are still in active development and subject to changes or even having their implementation completely removed and done in a different way.
| Samples | *Description* |
|--|--|
| Hand And Controller Interaction Examples | *Demonstrates both hand and Magic Leap 2 Controller interactions at the same time.* |
| Eye Tracking Examples | *Demonstrates eye tracking and eye gaze interactions.* |
| Spatial Awareness Examples | *Demonstrates scene reconstruction with meshing, along with options for mesh visualization.* |
| Keyword Recognition Examples | *Demonstrates MRTK3's Keyword Recognition Subsystem working on the Magic Leap 2.* |
| Global and Segmented Dimmer Examples | *Demonstrates Magic Leap 2's global and segmented dimmer features, along with dynamic options for control.* |
| Stereo Convergence Detector Examples | *Demonstrates the StereoConvergenceDetector utility and the effect of focus distance.* |
## Prerequisites

@@ -26,3 +37,3 @@

Before importing the Magic Leap MRTK3 Early Access Package, developers will need to configure their project for MRTK3. This section provides general guidance on downloading and installing the MRTK3 packages using the Mixed Reality Feature tool (Windows Only) or using the MRTK3 Dev Template Project.
Before importing the Magic Leap MRTK3 Package, developers will need to configure their project for MRTK3. This section provides general guidance on downloading and installing the MRTK3 packages using the Mixed Reality Feature tool (Windows Only) or using the MRTK3 Dev Template Project.

@@ -81,8 +92,19 @@ ### Using the MRTK Dev Template Project

## Importing the MRTK3 Magic Leap Package
## Importing the Magic Leap MRTK3 Package
Once the project is configured for ML2 and has the required MRTK3 packages, import the provided MRTK3 Magic Leap package into the project.
Once the project is configured for ML2 and has the required MRTK3 packages, import the Magic Leap MRTK3 package into the project.
Open the Package Manager (**Window** > **Package Manager**) and import the `com.magicleap.mrtk3.tgz` package. Select the **+** icon then select **Add package from tarball...**
### Importing from the NPMJS package registry
Add the NPMJS scoped registry to your project.
- URL: http://registry.npmjs.org
- Scope(s): com.magicleap
Import the `Magic Leap MRTK3` package with the Package Manager (**Window** > **Package Manager**) under **Packages: My Registries**, or include the package directly in the manifest.json, e.g. `"com.magicleap.mrtk3": "1.0.0",`.
### Importing from the Magic Leap Hub
Install the latest version of the Unity MRTK3 package from the Magic Leap Hub. Then from the Package Manager (**Window** > **Package Manager**), import the `com.magicleap.mrtk3.tgz` package that was installed from the Hub. Select the **+** icon then select **Add package from tarball...** and choose the path used by the Magic Leap Hub to import the package into the project.
## Project Setup with XR Providers

@@ -103,3 +125,3 @@

3. Within project settings, go to the **MRTK3** category on the left.
1. Set the **Profile** to **MRTKProfile-MagicLeap**, found at `Packages/com.magicleap.mrtk3/Runtime/XRProviders/MagicLeap/Configuration/Default Profiles/`.
1. Set the **Profile** to **MRTKProfile-MagicLeap**, found at `/Runtime/XRProviders/MagicLeap/Configuration/Default Profiles/`.

@@ -112,3 +134,3 @@ 4. Configure the MRTK XR Rig to be compatible with Magic Leap 2 input (2 provided options).

- Enabling this feature will allow the default MRTK XR Rig to work with ML2 input without needing to modify the scene.
2. Second option: In your scenes, remove and replace the default MRTK XR Rig with the `MRTK XR Rig - MagicLeap` prefab variant located in `Packages/com.magicleap.mrtk3/Runtime/XRProviders/MagicLeap/Prefabs/MRTK_Variants/`.
2. Second option: In your scenes, remove and replace the default MRTK XR Rig with the `MRTK XR Rig - MagicLeap` prefab variant located in `/Runtime/XRProviders/MagicLeap/Prefabs/MRTK_Variants/`.

@@ -141,3 +163,3 @@ ### OpenXR XR Provider Setup

4. Within project settings, go to the **MRTK3** category on the left.
1. Set the **Profile** to **MRTKProfile-MagicLeap-OpenXR**, found at `Packages/com.magicleap.mrtk3/Runtime/XRProviders/OpenXR/Configuration/Default Profiles/`.
1. Set the **Profile** to **MRTKProfile-MagicLeap-OpenXR**, found at `/Runtime/XRProviders/OpenXR/Configuration/Default Profiles/`.

@@ -150,3 +172,3 @@ 5. Configure the MRTK XR Rig to be compatible with Magic Leap 2 input (2 provided options).

- Enabling this feature will allow the default MRTK XR Rig to work with ML2 input without needing to modify the scene.
2. Second option: In your scenes, remove and replace the default MRTK XR Rig with the `MRTK XR Rig - MagicLeap - OpenXR` prefab variant located in `Packages/com.magicleap.mrtk3/Runtime/XRProviders/OpenXR/Prefabs/MRTK_Variants/`.
2. Second option: In your scenes, remove and replace the default MRTK XR Rig with the `MRTK XR Rig - MagicLeap - OpenXR` prefab variant located in `/Runtime/XRProviders/OpenXR/Prefabs/MRTK_Variants/`.

@@ -153,0 +175,0 @@ ## Magic Leap Permissions

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc