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 PressableButtonTests

    Inheritance
    Object
    PressableButtonTests
    Namespace: Microsoft.MixedReality.Toolkit.Tests
    Assembly: cs.temp.dll.dll
    Syntax
    public class PressableButtonTests : IPrebuildSetup

    Methods

    ButtonInstantiate()

    Declaration
    public IEnumerator ButtonInstantiate()
    Returns
    Type Description
    IEnumerator

    PressButtonFast()

    This test reproduces P0 issue 4566 which didn't trigger a button with enabled backpressprotection if hands were moving too fast in low framerate

    Declaration
    public IEnumerator PressButtonFast()
    Returns
    Type Description
    IEnumerator

    PressButtonWithHand()

    This test reproduces P0 issue 4263 which caused null pointers when pressing buttons See https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4683

    Declaration
    public IEnumerator PressButtonWithHand()
    Returns
    Type Description
    IEnumerator

    ReleaseButton()

    This tests the release behavior of a button

    Declaration
    public IEnumerator ReleaseButton()
    Returns
    Type Description
    IEnumerator

    ScaleLocalDistances()

    Declaration
    public IEnumerator ScaleLocalDistances()
    Returns
    Type Description
    IEnumerator

    ScaleWorldDistances()

    Declaration
    public IEnumerator ScaleWorldDistances()
    Returns
    Type Description
    IEnumerator

    Setup()

    Declaration
    public void Setup()

    SwitchWorldToLocalDistanceMode()

    Declaration
    public IEnumerator SwitchWorldToLocalDistanceMode()
    Returns
    Type Description
    IEnumerator

    TearDown()

    Declaration
    public void TearDown()

    TestSetup()

    Declaration
    public void TestSetup()

    TriggerButtonFarInteraction()

    This test verifies that buttons will trigger with far interaction

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