mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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 void SetupFocusProviderRaycastTests()

    SetupFocusProviderRaycastTests()

    Declaration
    public void SetupFocusProviderRaycastTests()

    ShutdownFocusProviderRaycastTests()

    Declaration
    public void ShutdownFocusProviderRaycastTests()

    ShutdownFocusProviderRaycastTests()

    Declaration
    public void ShutdownFocusProviderRaycastTests()

    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

    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
    • Methods
      • SetupFocusProviderRaycastTests()
      • SetupFocusProviderRaycastTests()
      • ShutdownFocusProviderRaycastTests()
      • ShutdownFocusProviderRaycastTests()
      • TestRaycastProxies()
      • TestRaycastProxies()
    Back to top Generated by DocFX