Language
Edit

XRSubsystemHelpers.ConstructCinfo<SubsystemT,CinfoT> Method

Definition

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

CinfoT

Remarks

Used when registering a subsystem.

Applies to