Class FocusProviderRaycastTests
This class is used to test that FocusProvider raycasts are selecting the correct focus object.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Tests
Assembly: cs.temp.dll.dll
Syntax
public class FocusProviderRaycastTests
Methods
SetupFocusProviderRaycastTests()
Declaration
public void SetupFocusProviderRaycastTests()
ShutdownFocusProviderRaycastTests()
Declaration
public void ShutdownFocusProviderRaycastTests()
TestRaycastProxies()
For each FocusRaycastTestProxy in the raycast test prefab, set the relevant values on the TestPointer, then wait for the Update() and Assert that the ExpectedHitObject matches the TestPointer's CurrentPointerTarget.
Declaration
public IEnumerator TestRaycastProxies()
Returns
Type | Description |
---|---|
IEnumerator |