mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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

    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 void Setup()
    Overrides
    BasePlayModeTests.Setup()

    Setup()

    Declaration
    public override void Setup()
    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

    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

    TearDown()

    Declaration
    public override void TearDown()
    Overrides
    BasePlayModeTests.TearDown()

    TearDown()

    Declaration
    public override void TearDown()
    Overrides
    BasePlayModeTests.TearDown()
    In This Article
    • Methods
      • GrabLayerMasks()
      • GrabLayerMasks()
      • GrabLayerMasksWithOverlap()
      • Setup()
      • Setup()
      • SpherePointerDistances()
      • SpherePointerDistances()
      • TearDown()
      • TearDown()
    Back to top Generated by DocFX