日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    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
    Back to top Generated by DocFX