MixedRealityInputSystem.GetDataProvider<T>(String) Method
Definition
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.
Get the data provider that is registered under the specified name (optional) and matching the specified type.
public override T GetDataProvider<T> (string name = default) where T : Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider;
override this.GetDataProvider : string -> 'T (requires 'T :> Microsoft.MixedReality.Toolkit.IMixedRealityDataProvider)
Public Overrides Function GetDataProvider(Of T As IMixedRealityDataProvider) (Optional name As String = Nothing) As T
Type Parameters
- T
The desired data provider type.
Parameters
- name
- String
The friendly name of the data provider.
Returns
T
The requested data provider, or null if one cannot be found.