Class FocusProviderTests
Inheritance
FocusProviderTests
Assembly: cs.temp.dll.dll
public class FocusProviderTests
Methods
Declaration
public IEnumerator Setup()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public IEnumerator TearDown()
Returns
Type |
Description |
IEnumerator |
|
Ensure that focused object is set to null, and that focus lock is reset when we destroy
the currently focus-locked (aka grabbed) object
Declaration
public IEnumerator TestDestroyFocusLockedObject()
Returns
Type |
Description |
IEnumerator |
|
Ensure that focused object is set to null when we destroy the currently focused object
Declaration
public IEnumerator TestDestroyFocusObject()
Returns
Type |
Description |
IEnumerator |
|
Ensure that focused object is set to null, and that focus lock is reset when we disable
the currently focus-locked (aka grabbed) object
Declaration
public IEnumerator TestDisableFocusLockedObject()
Returns
Type |
Description |
IEnumerator |
|
Ensure that focused object is set to null when we disable the currently focused object
Declaration
public IEnumerator TestDisableFocusObject()
Returns
Type |
Description |
IEnumerator |
|
Ensures the focus provider runs its update loop properly without a gaze provider.
Also tests that a gaze provider can successfully be cleaned up at runtime.
Declaration
public IEnumerator TestFocusProviderWithoutGaze()
Returns
Type |
Description |
IEnumerator |
|
Test that the gaze cursor behaves properly with articulated hand pointers.
Declaration
public IEnumerator TestGazeCursorArticulated()
Returns
Type |
Description |
IEnumerator |
|
Tests gaze cursor visibility when near interaction pointer is active and near grabbable.
Declaration
public IEnumerator TestGazeCursorWhenHandsNearGrabbable()
Returns
Type |
Description |
IEnumerator |
|
Ensure that the gaze provider hit result is not null when looking at an object,
even when the hand is up.
Declaration
public IEnumerator TestGazeProviderTargetNotNull()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public IEnumerator TestGazeProviderTargetUnityUi()
Returns
Type |
Description |
IEnumerator |
|
Ensure FocusProvider's FocusDetails can be overridden.
Declaration
public IEnumerator TestOverrideFocusDetails()
Returns
Type |
Description |
IEnumerator |
|
Test focus provider returns results based on custom prioritized layer mask array
Declaration
public IEnumerator TestPrioritizedLayerMask()
Returns
Type |
Description |
IEnumerator |
|