Edit

Share via


MixedRealityToolkit.IsSystemRegistered<T> Method

Definition

Caution

Use IsServiceRegistered instead

Generic function used to interrogate the Mixed Reality Toolkit active system registry for the existence of a core system.

public:
generic <typename T>
 where T : Microsoft::MixedReality::Toolkit::IMixedRealityService bool IsSystemRegistered();
[System.Obsolete("Use IsServiceRegistered instead")]
public bool IsSystemRegistered<T> () where T : Microsoft.MixedReality.Toolkit.IMixedRealityService;
[<System.Obsolete("Use IsServiceRegistered instead")>]
member this.IsSystemRegistered : unit -> bool (requires 'T :> Microsoft.MixedReality.Toolkit.IMixedRealityService)
Public Function IsSystemRegistered(Of T As IMixedRealityService) () As Boolean

Type Parameters

T

The interface type for the system to be retrieved. E.G. InputSystem, BoundarySystem.

Returns

True, there is a system registered with the selected interface, False, no system found for that interface

Attributes

Remarks

Note: type should be the Interface of the system to be retrieved and not the concrete class itself.

Applies to