Language
Edit

XRSubsystemHelpers.GetConfiguration<ConfigT,SubsystemT> Method

Definition

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.

Returns

ConfigT

Applies to