InteractableShaderTheme.Init(GameObject, ThemeDefinition) 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.
Initialize current Theme Engine with given configuration and target the provided GameObject
public:
override void Init(UnityEngine::GameObject ^ host, Microsoft::MixedReality::Toolkit::UI::ThemeDefinition definition);
public override void Init (UnityEngine.GameObject host, Microsoft.MixedReality.Toolkit.UI.ThemeDefinition definition);
override this.Init : UnityEngine.GameObject * Microsoft.MixedReality.Toolkit.UI.ThemeDefinition -> unit
Public Overrides Sub Init (host As GameObject, definition As ThemeDefinition)
Parameters
- host
- UnityEngine.GameObject
GameObject to target changes against
- definition
- ThemeDefinition
Configuration information to initialize Theme Engine