mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class SpatialObserverTests

    Test class that validates observers start and stop based on right configuration in editor.

    Inheritance
    Object
    SpatialObserverTests
    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 SpatialObserverTests

    Methods

    TestAutoStartObserver()

    Test default case of Auto-Start SpatialObjectMeshObserver observer type and SpatialAwarenessSystem in editor Validates that system resumes (i.e auto-starts again) when disabled/enabled

    Declaration
    public IEnumerator TestAutoStartObserver()
    Returns
    Type Description
    IEnumerator

    TestDisableSpatialAwarenessSystem()

    Test that when the SpatialAwarenessSystem is disabled in the MRTK profile, no service is created

    Declaration
    public IEnumerator TestDisableSpatialAwarenessSystem()
    Returns
    Type Description
    IEnumerator

    TestManualStartObserver()

    Test case of Manual-Start SpatialObjectMeshObserver observer type and SpatialAwarenessSystem in editor Validates that system should not resume observers unless directly told by test

    Declaration
    public IEnumerator TestManualStartObserver()
    Returns
    Type Description
    IEnumerator
    In This Article
    • Methods
      • TestAutoStartObserver()
      • TestDisableSpatialAwarenessSystem()
      • TestManualStartObserver()
    Back to top Generated by DocFX