Mixed Reality. Toolkit Namespace
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extension methods for Unity's AnimationCurve class
Array type method extensions.
The base data provider implements IMixedRealityDataProvider and provides default properties for all data providers.
Abstract class for core MRTK system with functionality defined for managing and accessing IMixedRealityDataProviders
Base Event System that can be inherited from to give other system features event capabilities.
The base extension service implements IMixedRealityExtensionService and provides default properties for all extension services.
Base abstract class for all Mixed Reality profile configurations. Extends ScriptableObject and used as a property container to initialize MRTK services.
The base service implements IMixedRealityService and provides default properties for all services.
Extension methods for Unity's Bounds struct
Extension methods for the Unity's Camera class
Camera extension methods to test if colliders are within camera's FOV. Uses caching to improve performance and ensure values are only computed once per frame
Extensions for the Canvas class.
Extension methods for .Net Collection objects, e.g. Lists, Dictionaries, Arrays
Extension methods for Unity's Color32 struct
Extension methods for .Net Comparer's
Extensions methods for the Unity Component class. This also includes some component-related extensions for the GameObject class.
Utility class to easily access references to core runtime Mixed Reality Toolkit Services If deallocating and re-allocating a new system at runtime, ResetCacheReferences() should be used to get a proper reference
Defines a documentation link for a service. Used primarily by service inspector facades.
Extension methods for the .Net Double struct
Extension methods for the .Net IEnumerable class
An attribute that allows a particular field to be rendered as multi-selectable set of flags.
Extension methods for Unity's EventSystem
A PropertyAttribute for showing a warning box that the tagged implementation is experimental.
Constraint that allows selection of classes that extend a specific class when selecting a SystemType with the Unity inspector.
Extension methods for the .Net Float struct
Extension methods for Unity's GameObject class
Generic Base Event Data for Sending Events through the Event System.
Handedness type method extensions.
A PropertyAttribute for showing a collapsible Help section.
Constraint that allows selection of classes that implement a specific interface when selecting a SystemType with the Unity inspector.
Extension methods for Unity's LayerMask struct
Extension methods and helper functions for various math data
This Scriptable Object tells you if your head mounted display (HMD) is a transparent device or an occluded device. Based on those values, you can customize your camera and quality settings.
Attribute that defines the properties of a Mixed Reality Toolkit data provider.
Experience settings profile for the Mixed Reality Toolkit.
Attribute that defines the properties of a Mixed Reality Toolkit extension service.
A static class encapsulating the Mixed Reality playspace.
Use this script on GameObjects you wish to be aligned in certain ways depending on the application space type. For example, if you want to place an object at the height of the user's head in a room scale application, check alignWithHeadHeight. In a stationary scale application, this is equivalent to placing the object at a height of 0. You can also specify specific locations to place the object based on space type.
This script runs once, on GameObject creation.
Attach to a class implementing IMixedRealityServiceInspector to generate a facade inspector.
Attribute that defines which service a profile is meant to be consumed by. Only applies to profiles that are consumed by types implementing IMixedRealityService. A service must implement all required types and no excluded types to be considered compatible with the profile.
Static class that represents the Mixed Reality Toolkit service registry.
This class is responsible for coordinating the operation of the Mixed Reality Toolkit. It is the only Singleton in the entire project. It provides a service registry for all active services that are used within a project as well as providing the active configuration profile for the project. The Profile can be swapped out at any time to meet the needs of your project.
Configuration profile settings for the Mixed Reality Toolkit.
Describes placement of objects events.
Attribute used to ensure that a GameObject inspector slot only accepts prefabs.
Process Extension class.
Extension methods for Unity's Quaternion struct.
Extension methods for Unity's Ray struct
Attribute for using a SceneAssetReference property drawer.
Draws an object field as a scene asset reference. This enables fields to store references to scene assets (which is an editor-only object) as unity objects (which work in both editor and runtime)
Attribute to mark up an int field to be drawn using the ScenePickPropertyDrawer This allows the UI to display a dropdown instead of a numeric entry field.
This is a helper class to allow you to call OnSubmit() on a UnityEngine.UI.Button or other control derived from UnityEngine.EventSystems.ISubmitHandler on this gameObject. It exposes a public function that can be bound in the Editor to a Unity Event.
Base class for class selection constraints that can be applied when selecting a SystemType with the Unity inspector.
A PropertyAttribute for Unity tags (a string field).
A collection of helper functions for Texture2D
Extension methods for Unity's Transform class
Extension methods for Unity's Object class
Attribute used to make a float or int variable in a script be restricted to a specific range.
Extension methods for Unity's Vector struct
Defines a system, feature, or manager to be registered with as a IMixedRealityExtensionService on startup.
Required interface for all Mixed Reality data providers. Data providers are the components that supply services with required information (ex: input controller state).
Allows systems to provide access to their managed data providers.
Interface to implement generic events.
Interface to implement an event source.
Interface used to implement an Event System that is compatible with the Mixed Reality Toolkit.
Generic interface for all optional Mixed Reality systems, components, or features that can be added to the MixedRealityServiceConfiguration
Generic interface for all Mixed Reality Services
Interface for Mixed Reality Toolkit service registration.
Interface providing properties that components can call to determine the current state of a mixed reality service.
How to apply the distortion along the line.
Default options for how to distribute interpolated points in a line renderer
Defines the type of interpolation to use when calculating a spline.
Defines how a base line data provider will transform its points
Defines how to calculate the line's rotation at any given point.
Mixed reality platform capabilities.
Defines how to get an interpolated point along a line
The SDKType lists the XR SDKs that are supported by the Mixed Reality Toolkit. Initially, this lists proposed SDKs, not all may be implemented at this time (please see ReleaseNotes for more details)
Defines how to generate points in a line renderer
The Tracking State defines how a device is currently being tracked. This enables developers to be able to handle non-tracked situations and react accordingly.