mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0releases/2.3.0releases/2.4.0releases/2.5.0releases/2.5.1releases/2.5.2releases/2.5.3
  • Features and Architecture
  • API Documentation

We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

  • API Documentation
Search Results for

    Show / Hide Table of Contents

    Class PrefabSpawner

    Add to any Object to spawn a prefab to it, according to preference

    Inheritance
    Object
    PrefabSpawner
    ToolTipSpawner
    Implements
    IMixedRealityInputHandler
    IMixedRealityInputHandler<Single>
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class PrefabSpawner : BaseFocusHandler, IMixedRealityInputHandler, IMixedRealityInputHandler<float>

    Fields

    prefab

    Declaration
    protected GameObject prefab
    Field Value
    Type Description
    GameObject

    Methods

    HandleTap()

    Declaration
    protected virtual void HandleTap()

    OnFocusEnter(FocusEventData)

    Declaration
    public override void OnFocusEnter(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    OnFocusExit(FocusEventData)

    Declaration
    public override void OnFocusExit(FocusEventData eventData)
    Parameters
    Type Name Description
    FocusEventData eventData

    SpawnableActivated(GameObject)

    Declaration
    protected virtual void SpawnableActivated(GameObject spawnable)
    Parameters
    Type Name Description
    GameObject spawnable

    Implements

    IMixedRealityInputHandler
    IMixedRealityInputHandler<>
    In This Article
    • Fields
      • prefab
    • Methods
      • HandleTap()
      • OnFocusEnter(FocusEventData)
      • OnFocusExit(FocusEventData)
      • SpawnableActivated(GameObject)
    • Implements
    Back to top Generated by DocFX