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

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

    Show / Hide Table of Contents

    Class SpherePointerTests

    Inheritance
    Object
    BasePlayModeTests
    SpherePointerTests
    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 SpherePointerTests : BasePlayModeTests

    Methods

    GrabLayerMasks()

    Verifies that SpherePointer correctly returns IsNearObject and IsInteractionEnabled only when it is near a grabbable object, on the correct grabbable layer.

    Declaration
    public IEnumerator GrabLayerMasks()
    Returns
    Type Description
    IEnumerator

    GrabLayerMasksWithOverlap()

    Verifies that SpherePointer correctly returns IsNearObject and IsInteractionEnabled and only objects on the correct grabbable layer are in focus

    Declaration
    public IEnumerator GrabLayerMasksWithOverlap()
    Returns
    Type Description
    IEnumerator

    Setup()

    Declaration
    public override IEnumerator Setup()
    Returns
    Type Description
    IEnumerator
    Overrides
    BasePlayModeTests.Setup()

    SpherePointerDistances()

    Verifies that the IsNearObject and IsInteractionEnabled get set at the correct times as a hand approaches a grabbable object

    Declaration
    public IEnumerator SpherePointerDistances()
    Returns
    Type Description
    IEnumerator

    SpherePointerPullbackDistance()

    Verifies that the IsNearObject and IsInteractionEnabled get set at the correct times as a hand approaches a grabbable object

    Declaration
    public IEnumerator SpherePointerPullbackDistance()
    Returns
    Type Description
    IEnumerator

    SpherePointerSectorAngle()

    Verifies that the IsNearObject and IsInteractionEnabled get set at the correct times as a hand approaches a grabbable object

    Declaration
    public IEnumerator SpherePointerSectorAngle()
    Returns
    Type Description
    IEnumerator

    TearDown()

    Declaration
    public override IEnumerator TearDown()
    Returns
    Type Description
    IEnumerator
    Overrides
    BasePlayModeTests.TearDown()
    Back to top Generated by DocFX