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.

    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

    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

    TearDown()

    Declaration
    public override void TearDown()
    Overrides
    BasePlayModeTests.TearDown()
    Back to top Generated by DocFX