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 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()
    In This Article
    Back to top Generated by DocFX