mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class FocusProviderTests

    Inheritance
    Object
    FocusProviderTests
    Inherited Members
    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 FocusProviderTests

    Methods

    Setup()

    Declaration
    public void Setup()

    Setup()

    Declaration
    public void Setup()

    TearDown()

    Declaration
    public void TearDown()

    TearDown()

    Declaration
    public void TearDown()

    TestDestroyFocusLockedObject()

    Ensure that focused object is set to null, and that focus lock is reset when we destroy the currently focus-locked (aka grabbed) object

    Declaration
    public IEnumerator TestDestroyFocusLockedObject()
    Returns
    Type Description
    IEnumerator

    TestDestroyFocusLockedObject()

    Ensure that focused object is set to null, and that focus lock is reset when we destroy the currently focus-locked (aka grabbed) object

    Declaration
    public IEnumerator TestDestroyFocusLockedObject()
    Returns
    Type Description
    IEnumerator

    TestDestroyFocusObject()

    Ensure that focused object is set to null when we destroy the currently focused object

    Declaration
    public IEnumerator TestDestroyFocusObject()
    Returns
    Type Description
    IEnumerator

    TestDestroyFocusObject()

    Ensure that focused object is set to null when we destroy the currently focused object

    Declaration
    public IEnumerator TestDestroyFocusObject()
    Returns
    Type Description
    IEnumerator

    TestDisableFocusLockedObject()

    Ensure that focused object is set to null, and that focus lock is reset when we disable the currently focus-locked (aka grabbed) object

    Declaration
    public IEnumerator TestDisableFocusLockedObject()
    Returns
    Type Description
    IEnumerator

    TestDisableFocusLockedObject()

    Ensure that focused object is set to null, and that focus lock is reset when we disable the currently focus-locked (aka grabbed) object

    Declaration
    public IEnumerator TestDisableFocusLockedObject()
    Returns
    Type Description
    IEnumerator

    TestDisableFocusObject()

    Ensure that focused object is set to null when we disable the currently focused object

    Declaration
    public IEnumerator TestDisableFocusObject()
    Returns
    Type Description
    IEnumerator

    TestDisableFocusObject()

    Ensure that focused object is set to null when we disable the currently focused object

    Declaration
    public IEnumerator TestDisableFocusObject()
    Returns
    Type Description
    IEnumerator

    TestFocusProviderWithoutGaze()

    Ensures the focus provider runs its update loop properly without a gaze provider. Also tests that a gaze provider can successfully be cleaned up at runtime.

    Declaration
    public IEnumerator TestFocusProviderWithoutGaze()
    Returns
    Type Description
    IEnumerator

    TestGazeCursorArticulated()

    Test that the gaze cursor behaves properly with articulated hand pointers.

    Declaration
    public IEnumerator TestGazeCursorArticulated()
    Returns
    Type Description
    IEnumerator

    TestGazeCursorArticulated()

    Test that the gaze cursor behaves properly with articulated hand pointers.

    Declaration
    public IEnumerator TestGazeCursorArticulated()
    Returns
    Type Description
    IEnumerator

    TestGazeCursorWhenHandsNearGrabbable()

    Tests gaze cursor visibility when near interaction pointer is active and near grabbable.

    Declaration
    public IEnumerator TestGazeCursorWhenHandsNearGrabbable()
    Returns
    Type Description
    IEnumerator

    TestGazeProviderTargetNotNull()

    Ensure that the gaze provider hit result is not null when looking at an object, even when the hand is up.

    Declaration
    public IEnumerator TestGazeProviderTargetNotNull()
    Returns
    Type Description
    IEnumerator

    TestGazeProviderTargetNotNull()

    Ensure that the gaze provider hit result is not null when looking at an object, even when the hand is up.

    Declaration
    public IEnumerator TestGazeProviderTargetNotNull()
    Returns
    Type Description
    IEnumerator

    TestGazeProviderTargetUnityUi()

    Declaration
    public IEnumerator TestGazeProviderTargetUnityUi()
    Returns
    Type Description
    IEnumerator

    TestOverrideFocusDetails()

    Ensure FocusProvider's FocusDetails can be overridden.

    Declaration
    public IEnumerator TestOverrideFocusDetails()
    Returns
    Type Description
    IEnumerator

    TestOverrideFocusDetails()

    Ensure FocusProvider's FocusDetails can be overridden.

    Declaration
    public IEnumerator TestOverrideFocusDetails()
    Returns
    Type Description
    IEnumerator

    TestPrioritizedLayerMask()

    Test focus provider returns results based on custom prioritized layer mask array

    Declaration
    public IEnumerator TestPrioritizedLayerMask()
    Returns
    Type Description
    IEnumerator
    In This Article
    • Methods
      • Setup()
      • Setup()
      • TearDown()
      • TearDown()
      • TestDestroyFocusLockedObject()
      • TestDestroyFocusLockedObject()
      • TestDestroyFocusObject()
      • TestDestroyFocusObject()
      • TestDisableFocusLockedObject()
      • TestDisableFocusLockedObject()
      • TestDisableFocusObject()
      • TestDisableFocusObject()
      • TestFocusProviderWithoutGaze()
      • TestGazeCursorArticulated()
      • TestGazeCursorArticulated()
      • TestGazeCursorWhenHandsNearGrabbable()
      • TestGazeProviderTargetNotNull()
      • TestGazeProviderTargetNotNull()
      • TestGazeProviderTargetUnityUi()
      • TestOverrideFocusDetails()
      • TestOverrideFocusDetails()
      • TestPrioritizedLayerMask()
    Back to top Generated by DocFX