XRSubsystemHelpers.ConstructCinfo<SubsystemT,CinfoT> 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.
Create and initializes an object of type CinfoT for the specified subsystem type.
public static CinfoT ConstructCinfo<SubsystemT,CinfoT>() where CinfoT : MixedReality.Toolkit.Subsystems.IMRTKSubsystemDescriptor, new();
static member ConstructCinfo : unit -> 'CinfoT (requires 'CinfoT :> MixedReality.Toolkit.Subsystems.IMRTKSubsystemDescriptor and 'CinfoT : (new : unit -> 'CinfoT))
Public Shared Function ConstructCinfo(Of SubsystemT, CinfoT) () As CinfoT
Type Parameters
- SubsystemT
The type the subsystem being registered.
- CinfoT
A IMRTKSubsystemDescriptor class type to create.
Returns
Remarks
Used when registering a subsystem.