Class SolverTests
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Tests
Assembly: cs.temp.dll.dll
Syntax
public class SolverTests : BasePlayModeTests
Methods
TearDown()
Declaration
public override void TearDown()
Overrides
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 |
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 |
TestTargetTypes()
Test solver system's ability to change target types at runtime
Declaration
public IEnumerator TestTargetTypes()
Returns
Type | Description |
---|---|
IEnumerator |