Mixed Reality Toolkit (MRTK) is a collection of packages that enable cross platform Mixed Reality application development by providing support for Mixed Reality hardware and platforms.
System providing support for teleporting (moving about the experience in jumps).
MRTK/StandardAssets
MRTK Standard shader, basic materials and other standard assets for mixed reality experiences
Extensions package
The optional Microsoft.MixedRealityToolkit.Unity.Extensions package includes additional services that extend the functionality of Microsoft Mixed Reality Toolkit.
Napomena
The extensions package requires Microsoft.MixedRealityToolkit.Unity.Foundation.
Service that simplifies adding smooth scene transitions.
Tools package
The optional Microsoft.MixedRealityToolkit.Unity.Tools package includes helpful tools that enhance the mixed reality development experience using Microsoft Mixed Reality Toolkit.
These tools are located in the Mixed Reality Toolkit > Utilities menu in the Unity Editor.
Napomena
The tools package requires Microsoft.MixedRealityToolkit.Unity.Foundation.
UI that makes it easy to discover and use MRTK UX components.
Test utilities package
The optional Microsoft.MixedRealityToolkit.TestUtilities package is a collection of helper scripts that enable developers to easily create play mode tests. These utilities are especially useful for developers creating MRTK components.
Folder
Component
Description
MRTK/Tests
TestUtilities
Methods to simplify creation of play mode tests, including hand simulation utilities.
Examples package
The examples package contains demos, sample scripts, and sample scenes that exercise functionality in the foundation package. This package contains the HandInteractionExample scene (pictured below) which contains sample objects
that respond to various types of hand input (articulated and non-articulated).
This package also contains eye tracking demos, which are documented here
More generally, any new feature in MRTK should contain a corresponding example in the examples package, roughly following
the same folder structure and location.
Napomena
The examples package requires Microsoft.MixedRealityToolkit.Unity.Foundation.
Folder
Component
Description
MRTK/Examples
Demos
Simple scenes illustrating one or two related features.
Experimental
Demo scenes illustrating experimental features.
StandardAssets
Common assets shared by multiple demo scenes.
Unity Package Manager
For experiences being created using Unity 2019.4 and newer, MRTK is available via the Unity Package Manager.
Some of the benefits of using asset packages include:
Smaller projects
Cleaner Visual Studio solutions
Fewer files to check in (MRTK is a simple reference in the Packages/manifest.json file)
Faster compilation
Unity does not need to recompile MRTK during building
Dependency resolution
Required MRTK packages are automatically installed when specifying packages with dependencies
Easy update to new MRTK versions
Change the version in the Packages/manifest.json file
Some of the challenges are:
MRTK is immutable
Cannot make changes without them being removed during package resolution
MRTK does not support UPM packages with Unity 2018.4
Foundation package
The foundation package (com.microsoft.mixedreality.toolkit.foundation) forms the basis of Mixed Reality Toolkit.
Folder
Component
Description
MRTK/Core
Interface and type definitions, base classes, standard shader.
MRTK/Core/Providers
Platform agnostic data providers
Hands
Base class support and services for hand tracking.
System providing support for teleporting (moving about the experience in jumps).
Dependencies:
Standard Assets (com.microsoft.mixedreality.toolkit.standardassets)
Standard Assets
The standard assets package (com.microsoft.mixedreality.toolkit.standardassets) is a collection of components that are recommended for all mixed reality experiences, including:
MRTK Standard shader
Basic materials using the MRTK Standard shader
Audio files
Fonts
Textures
Icons
Napomena
To avoid breaking changes based on assembly definitions, the scripts used to control some features of the MRTK Standard shader are not included in the standard assets package. These scripts can be found in the foundation package in the MRTK/Core/Utilities/StandardShader folder.
Dependencies: none
Extension packages
The optional extensions package (com.microsoft.mixedreality.toolkit.extensions) contains additional components that expand the functionality of MRTK.
Foundation (com.microsoft.mixedreality.toolkit.foundation)
Tools package
The optional tools package (com.microsoft.mixedreality.toolkit.tools) contains tools that are useful for creating mixed reality experiences. In general, these tools are editor components and their code does not ship as part of an application.
Folder
Component
Description
MRTK/Tools
BuildWindow
Tool that helps simplify the process of building and deploying UWP applications.
UI that makes it easy to discover and use MRTK UX components.
Dependencies:
Foundation (com.microsoft.mixedreality.toolkit.foundation)
Test utilities package
The optional test utilities package (com.microsoft.mixedreality.toolkit.testutilities) contains a collection of helper scripts that enable developers to easily create play mode tests. These utilities are especially useful for developers creating MRTK components.
Folder
Component
Description
MRTK/Tests
TestUtilities
Methods to simplify creation of play mode tests, including hand simulation utilities.
Dependencies:
Foundation (com.microsoft.mixedreality.toolkit.foundation)
Examples package
The examples package (com.microsoft.mixedreality.toolkit.examples), is structured to allow developers to import only the examples of interest.
Import the Mixed Reality Toolkit (MRTK) into your Unity project to accelerate your mixed reality development. You can also deploy your project to a HoloLens.