XRSubsystemHelpers.GetConfiguration<ConfigT,SubsystemT> 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.
Gets the loaded configuration of type ConfigT
for the indicated subsystem type SubsystemT
public static ConfigT GetConfiguration<ConfigT,SubsystemT>() where ConfigT : MixedReality.Toolkit.BaseSubsystemConfig where SubsystemT : MixedReality.Toolkit.Subsystems.IMRTKManagedSubsystem;
static member GetConfiguration : unit -> 'ConfigT (requires 'ConfigT :> MixedReality.Toolkit.BaseSubsystemConfig and 'SubsystemT :> MixedReality.Toolkit.Subsystems.IMRTKManagedSubsystem)
Public Shared Function GetConfiguration(Of ConfigT As BaseSubsystemConfig, SubsystemT As BaseSubsystemConfig) () As ConfigT
Type Parameters
- ConfigT
The derived type of the config the caller expects to receive.
- SubsystemT
The derived type of the subsystem for which the config will be retrieved.