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

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

    Show / Hide Table of Contents

    Class SolverTests

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

    Methods

    TearDown()

    Declaration
    public override IEnumerator TearDown()
    Returns
    Type Description
    IEnumerator
    Overrides
    BasePlayModeTests.TearDown()

    TestDirectionalIndicator()

    Tests that the DirectionalIndicator can be instantiated through code.

    Declaration
    public IEnumerator TestDirectionalIndicator()
    Returns
    Type Description
    IEnumerator

    TestFollowDirection()

    Test the Follow solver angular clamp options

    Declaration
    public IEnumerator TestFollowDirection()
    Returns
    Type Description
    IEnumerator

    TestFollowDistance()

    Test the Follow solver distance clamp options

    Declaration
    public IEnumerator TestFollowDistance()
    Returns
    Type Description
    IEnumerator

    TestFollowOrientation()

    Test the Follow solver orientation options

    Declaration
    public IEnumerator TestFollowOrientation()
    Returns
    Type Description
    IEnumerator

    TestFollowStuckBehind()

    Test the Follow solver angular clamp options

    Declaration
    public IEnumerator TestFollowStuckBehind()
    Returns
    Type Description
    IEnumerator

    TestHandConstraint()

    Test the HandConstraint to make sure it tracks hands correctly.

    Declaration
    public IEnumerator TestHandConstraint()
    Returns
    Type Description
    IEnumerator

    TestHandConstraintPalmUpSolverActivationAboveFingerTips()

    Test the HandConstraintPalm up to make sure the activation methods work as intended for the AboveFingerTips safe zone

    Declaration
    public IEnumerator TestHandConstraintPalmUpSolverActivationAboveFingerTips()
    Returns
    Type Description
    IEnumerator

    TestHandConstraintPalmUpSolverActivationAtopPalm()

    Test the HandConstraintPalm up to make sure the activation methods work as intended for the AtopPalm safe zone

    Declaration
    public IEnumerator TestHandConstraintPalmUpSolverActivationAtopPalm()
    Returns
    Type Description
    IEnumerator

    TestHandConstraintPalmUpSolverActivationBelowWrist()

    Test the HandConstraintPalm up to make sure the activation methods work as intended for the BelowWrist safe zone

    Declaration
    public IEnumerator TestHandConstraintPalmUpSolverActivationBelowWrist()
    Returns
    Type Description
    IEnumerator

    TestHandConstraintPalmUpSolverActivationRadial()

    Test the HandConstraintPalm up to make sure the activation methods work as intended for the Radial safe zone

    Declaration
    public IEnumerator TestHandConstraintPalmUpSolverActivationRadial()
    Returns
    Type Description
    IEnumerator

    TestHandConstraintPalmUpSolverActivationUlnar()

    Test the HandConstraintPalm up to make sure the activation methods work as intended for the Ulnar safe zone

    Declaration
    public IEnumerator TestHandConstraintPalmUpSolverActivationUlnar()
    Returns
    Type Description
    IEnumerator

    TestHandConstraintPalmUpSolverPlacement()

    Test the HandConstraintPalm up to make sure the FollowHandUntilFacingCamera behavior works as expected

    Declaration
    public IEnumerator TestHandConstraintPalmUpSolverPlacement()
    Returns
    Type Description
    IEnumerator

    TestHandConstraintPalmUpSolverReattach()

    Test the HandConstraintPalm up to make sure the FollowHandUntilFacingCamera behavior works as expected

    Declaration
    public IEnumerator TestHandConstraintPalmUpSolverReattach()
    Returns
    Type Description
    IEnumerator

    TestHandModality()

    Tests solver handler's ability to switch hands

    Declaration
    public IEnumerator TestHandModality()
    Returns
    Type Description
    IEnumerator

    TestInBetween()

    Test solver system's ability to change target types at runtime

    Declaration
    public IEnumerator TestInBetween()
    Returns
    Type Description
    IEnumerator

    TestOverlap()

    Test the Overlap solver and make sure it tracks the left simulated hand exactly

    Declaration
    public IEnumerator TestOverlap()
    Returns
    Type Description
    IEnumerator

    TestRuntimeInstantiation()

    Test adding solver dynamically at runtime to GameObject

    Declaration
    public IEnumerator TestRuntimeInstantiation()
    Returns
    Type Description
    IEnumerator

    TestSolverSwap()

    Test solver system's ability to add multiple solvers at runtime and switch between them.

    Declaration
    public IEnumerator TestSolverSwap()
    Returns
    Type Description
    IEnumerator

    TestSurfaceMagnetism()

    Test Surface Magnetism against "wall" and that attached object falls head direction

    Declaration
    public IEnumerator TestSurfaceMagnetism()
    Returns
    Type Description
    IEnumerator

    TestTapToPlaceCodeConfigurability()

    Test code configurability for tap to place. Events for tap to place by default are triggered by OnPointerClicked. Code configurability for tap to place is calling Start/Stop Placement instead of clicking to select an object. This test uses AutoStart to start placing the object and StopPlacement.

    Declaration
    public IEnumerator TestTapToPlaceCodeConfigurability()
    Returns
    Type Description
    IEnumerator

    TestTapToPlaceColliderTests()

    Tests tap to place object placement if there is a surface hit on another collider through Start/StopPlacement calls instead of OnPointerClicked.

    Declaration
    public IEnumerator TestTapToPlaceColliderTests()
    Returns
    Type Description
    IEnumerator

    TestTapToPlaceOnClickControllerRay()

    Test the controller ray as the Tracked Target Type for an object with tap to place attached.

    Declaration
    public IEnumerator TestTapToPlaceOnClickControllerRay()
    Returns
    Type Description
    IEnumerator

    TestTapToPlaceOnClickHead()

    Test the default behavior for Tap to Place. The default behavior has the target object following the head.

    Declaration
    public IEnumerator TestTapToPlaceOnClickHead()
    Returns
    Type Description
    IEnumerator

    TestTapToPlaceStartPlacementAfterStart()

    Tests the functionality of StartPlacement() when called after Start() is called. In this case, StartPlacement should do its normal job.

    Declaration
    public IEnumerator TestTapToPlaceStartPlacementAfterStart()
    Returns
    Type Description
    IEnumerator

    TestTapToPlaceStartPlacementBeforeStart()

    Tests the functionality of StartPlacement() when called before Start() is called. In this case, StartPlacement should do its normal job after Start() is called.

    Declaration
    public IEnumerator TestTapToPlaceStartPlacementBeforeStart()
    Returns
    Type Description
    IEnumerator

    TestTapToPlaceSurfaceNormalOffsetSet()

    Tests the UseDefaultSurfaceNormalOffset property for Tap to Place while the object is in the placing state. If the UseDefaultSurfaceNormalOffset is true, the object should appear flat against a collider. If false, the object will have an offset based on SurfaceNormalOffset.

    Declaration
    public IEnumerator TestTapToPlaceSurfaceNormalOffsetSet()
    Returns
    Type Description
    IEnumerator

    TestTargetTypes()

    Test solver system's ability to change target types at runtime

    Declaration
    public IEnumerator TestTargetTypes()
    Returns
    Type Description
    IEnumerator
    Back to top Generated by DocFX