MixedRealityServiceRegistry Class
Important
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.
Static class that represents the Mixed Reality Toolkit service registry.
public ref class MixedRealityServiceRegistry abstract sealed
public static class MixedRealityServiceRegistry
type MixedRealityServiceRegistry = class
Public Class MixedRealityServiceRegistry
- Inheritance
-
MixedRealityServiceRegistry
The service registry is used to enable discovery of and access to active Mixed Reality Toolkit services at runtime without requiring direct code reference to a singleton style component.
Add |
Adds an IMixedRealityService instance to the registry. |
Clear |
Clears the registry cache of all services |
Get |
Returns readonly list of all services registered |
Get |
Returns readonly list of all services registered for given registrar |
Remove |
Removes an IMixedRealityService instance from the registry. |
Remove |
Removes an IMixedRealityService instance from the registry. |
Remove |
Removes an IMixedRealityService instance from the registry. |
Try |
Gets the first instance of the requested service from the registry that matches the given query. |
Try |
Gets the first instance of the requested service from the registry that matches the given query. |
Try |
Gets the first instance of the requested service from the registry that matches the given query. |
Produit | Versions |
---|---|
MRTK2 Unity 2018 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0 |
MRTK2 Unity 2019 | 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |
MRTK2 Unity 2020 | 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0 |