BaseExtensionService Constructors
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.
BaseExtensionService(String, UInt32, BaseMixedRealityProfile) |
Constructor. |
BaseExtensionService(IMixedRealityServiceRegistrar, String, UInt32, BaseMixedRealityProfile) |
Obsolete.
Constructor. |
Constructor.
protected BaseExtensionService (string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);
new Microsoft.MixedReality.Toolkit.BaseExtensionService : string * uint32 * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile -> Microsoft.MixedReality.Toolkit.BaseExtensionService
Protected Sub New (Optional name As String = Nothing, Optional priority As UInteger = 10, Optional profile As BaseMixedRealityProfile = Nothing)
Parameters
- name
- String
The friendly name of the service.
- priority
- UInt32
The registration priority of the service.
- profile
- BaseMixedRealityProfile
The configuration profile for the service.
Applies to
MRTK2 Unity 2018 2.7.0 та інші версії
Продукт | Версії |
---|---|
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 |
Caution
This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.
Constructor.
[System.Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
protected BaseExtensionService (Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar registrar, string name = default, uint priority = 10, Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile profile = default);
[<System.Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")>]
new Microsoft.MixedReality.Toolkit.BaseExtensionService : Microsoft.MixedReality.Toolkit.IMixedRealityServiceRegistrar * string * uint32 * Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile -> Microsoft.MixedReality.Toolkit.BaseExtensionService
Protected Sub New (registrar As IMixedRealityServiceRegistrar, Optional name As String = Nothing, Optional priority As UInteger = 10, Optional profile As BaseMixedRealityProfile = Nothing)
Parameters
- registrar
- IMixedRealityServiceRegistrar
The IMixedRealityServiceRegistrar instance that loaded the service.
- name
- String
The friendly name of the service.
- priority
- UInt32
The registration priority of the service.
- profile
- BaseMixedRealityProfile
The configuration profile for the service.
- Attributes
Applies to
MRTK2 Unity 2018 2.7.0 та інші версії
Продукт | Версії (Застаріло.) |
---|---|
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) |