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.

Search Results for

    Show / Hide Table of Contents

    Class FocusProviderRaycastTests

    This class is used to test that FocusProvider raycasts are selecting the correct focus object.

    Inheritance
    Object
    FocusProviderRaycastTests
    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 FocusProviderRaycastTests

    Methods

    SetupFocusProviderRaycastTests()

    Declaration
    public IEnumerator SetupFocusProviderRaycastTests()
    Returns
    Type Description
    IEnumerator

    ShutdownFocusProviderRaycastTests()

    Declaration
    public IEnumerator ShutdownFocusProviderRaycastTests()
    Returns
    Type Description
    IEnumerator

    TestRaycastProxies()

    For each FocusRaycastTestProxy in the raycast test prefab, set the relevant values on the TestPointer, then wait for the Update() and Assert that the ExpectedHitObject matches the TestPointer's CurrentPointerTarget.

    Declaration
    public IEnumerator TestRaycastProxies()
    Returns
    Type Description
    IEnumerator
    In This Article
    Back to top Generated by DocFX