Class SolverTests
Assembly: cs.temp.dll.dll
public class SolverTests : BasePlayModeTests
Methods
Declaration
public override IEnumerator TearDown()
Returns
Type |
Description |
IEnumerator |
|
Overrides
Tests that the DirectionalIndicator can be instantiated through code.
Declaration
public IEnumerator TestDirectionalIndicator()
Returns
Type |
Description |
IEnumerator |
|
Test the Follow solver angular clamp options
Declaration
public IEnumerator TestFollowDirection()
Returns
Type |
Description |
IEnumerator |
|
Test the Follow solver distance clamp options
Declaration
public IEnumerator TestFollowDistance()
Returns
Type |
Description |
IEnumerator |
|
Test the Follow solver orientation options
Declaration
public IEnumerator TestFollowOrientation()
Returns
Type |
Description |
IEnumerator |
|
Test the Follow solver angular clamp options
Declaration
public IEnumerator TestFollowStuckBehind()
Returns
Type |
Description |
IEnumerator |
|
Test the HandConstraint to make sure it tracks hands correctly.
Declaration
public IEnumerator TestHandConstraint()
Returns
Type |
Description |
IEnumerator |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Test the HandConstraintPalm up to make sure the FollowHandUntilFacingCamera behavior works as expected
Declaration
public IEnumerator TestHandConstraintPalmUpSolverPlacement()
Returns
Type |
Description |
IEnumerator |
|
Test the HandConstraintPalm up to make sure the FollowHandUntilFacingCamera behavior works as expected
Declaration
public IEnumerator TestHandConstraintPalmUpSolverReattach()
Returns
Type |
Description |
IEnumerator |
|
Tests solver handler's ability to switch hands
Declaration
public IEnumerator TestHandModality()
Returns
Type |
Description |
IEnumerator |
|
Test solver system's ability to change target types at runtime
Declaration
public IEnumerator TestInBetween()
Returns
Type |
Description |
IEnumerator |
|
Test the Overlap solver and make sure it tracks the left simulated hand exactly
Declaration
public IEnumerator TestOverlap()
Returns
Type |
Description |
IEnumerator |
|
Test adding solver dynamically at runtime to GameObject
Declaration
public IEnumerator TestRuntimeInstantiation()
Returns
Type |
Description |
IEnumerator |
|
Test solver system's ability to add multiple solvers at runtime and switch between them.
Declaration
public IEnumerator TestSolverSwap()
Returns
Type |
Description |
IEnumerator |
|
Test Surface Magnetism against "wall" and that attached object falls head direction
Declaration
public IEnumerator TestSurfaceMagnetism()
Returns
Type |
Description |
IEnumerator |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
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 |
|
Test solver system's ability to change target types at runtime
Declaration
public IEnumerator TestTargetTypes()
Returns
Type |
Description |
IEnumerator |
|