InteractableThemeBase.CreateTheme(Type) Method

Definition

Helper method to instantiate a Theme Engine of provided type. Type must extend InteractableThemeBase

public:
 static Microsoft::MixedReality::Toolkit::UI::InteractableThemeBase ^ CreateTheme(Type ^ themeType);
public static Microsoft.MixedReality.Toolkit.UI.InteractableThemeBase CreateTheme (Type themeType);
static member CreateTheme : Type -> Microsoft.MixedReality.Toolkit.UI.InteractableThemeBase
Public Shared Function CreateTheme (themeType As Type) As InteractableThemeBase

Parameters

themeType
Type

Type of ThemeEngine to create

Returns

Instance of ThemeEngine of given type

Applies to