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

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

    Show / Hide Table of Contents

    Class SpatialObserverTests

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

    Inheritance
    Object
    BasePlayModeTests
    SpatialObserverTests
    Inherited Members
    BasePlayModeTests.Setup()
    BasePlayModeTests.TearDown()
    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 : BasePlayModeTests

    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
    Back to top Generated by DocFX