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.

    Show / Hide Table of Contents

    Class InteractableTests

    Inheritance
    Object
    BasePlayModeTests
    InteractableTests
    Inherited Members
    BasePlayModeTests.TearDown()
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Tests
    Assembly: cs.temp.dll.dll
    Syntax
    public class InteractableTests : BasePlayModeTests

    Methods

    Setup()

    Declaration
    public override void Setup()
    Overrides
    BasePlayModeTests.Setup()

    TestDestroy()

    Instantiates a runtime assembled Interactable and destroy the Interactable component

    Declaration
    public IEnumerator TestDestroy()
    Returns
    Type Description
    IEnumerator

    TestDimensions()

    Assemble an Interactable GameObject and test various SelectionModes

    Declaration
    public IEnumerator TestDimensions()
    Returns
    Type Description
    IEnumerator

    TestDisabledOnStart()

    Declaration
    public IEnumerator TestDisabledOnStart()
    Returns
    Type Description
    IEnumerator

    TestDisableState()

    Instantiates a runtime assembled Interactable and set Interactable state to disabled (not disabling the GameObject/component)

    Declaration
    public IEnumerator TestDisableState()
    Returns
    Type Description
    IEnumerator

    TestHandInputOnPrefab()

    Instantiates a push button prefab and uses simulated hand input to press it.

    Declaration
    public IEnumerator TestHandInputOnPrefab()
    Returns
    Type Description
    IEnumerator

    TestHandInputOnRuntimeAssembled()

    Assembles a push button from primitives and uses simulated hand input to press it.

    Declaration
    public IEnumerator TestHandInputOnRuntimeAssembled()
    Returns
    Type Description
    IEnumerator

    TestInputActionMenuInput()

    Instantiates a push button prefab and uses simulated input events to press it.

    Declaration
    public IEnumerator TestInputActionMenuInput()
    Returns
    Type Description
    IEnumerator

    TestInputActionSelectInput()

    Assembles a push button from primitives and uses simulated input events to press it.

    Declaration
    public IEnumerator TestInputActionSelectInput()
    Returns
    Type Description
    IEnumerator

    TestInteractableDisableOnClick()

    Declaration
    public IEnumerator TestInteractableDisableOnClick()
    Returns
    Type Description
    IEnumerator

    TestInteractableToggleCollectionIndexUpdate()

    Declaration
    public IEnumerator TestInteractableToggleCollectionIndexUpdate()
    Returns
    Type Description
    IEnumerator

    TestPressableToggleHoloLens2()

    Declaration
    public IEnumerator TestPressableToggleHoloLens2()
    Returns
    Type Description
    IEnumerator

    TestRadialSetPrefab()

    Tests that radial buttons can be selected and deselected, and that a radial button set allows just one button to be selected at a time

    Declaration
    public IEnumerator TestRadialSetPrefab()
    Returns
    Type Description
    IEnumerator

    TestSelectGlobalInput()

    Instantiates a push button prefab and uses simulated global input events to press it.

    Declaration
    public IEnumerator TestSelectGlobalInput()
    Returns
    Type Description
    IEnumerator

    TestSelectGlobalInputOnDisabled()

    Instantiates a push button prefab and disable it but also enable global input. Ensure cannot interact because disabled

    Declaration
    public IEnumerator TestSelectGlobalInputOnDisabled()
    Returns
    Type Description
    IEnumerator

    TestVoiceInputOnPrefab()

    Instantiates a push button prefab and uses simulated voice input events to press it.

    Declaration
    public IEnumerator TestVoiceInputOnPrefab()
    Returns
    Type Description
    IEnumerator
    Back to top Generated by DocFX