Class BoundingBoxTests
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Tests
Assembly: cs.temp.dll.dll
Syntax
public class BoundingBoxTests
Methods
BBoxHandlerUI()
Tests to see that the handlers grow in size when a pointer is near them
Declaration
public IEnumerator BBoxHandlerUI()
Returns
Type | Description |
---|---|
IEnumerator |
BBoxInstantiate()
Verify that we can instantiate bounding box at runtime
Declaration
public IEnumerator BBoxInstantiate()
Returns
Type | Description |
---|---|
IEnumerator |
BBoxOverride()
Test that if we update the bounds of a box collider, that the corners will move correctly
Declaration
public IEnumerator BBoxOverride()
Returns
Type | Description |
---|---|
IEnumerator |
DisableObject()
Ensure that while using BoundingBox, if that object gets deactivated, that BoundingBox no longer transforms that object.
Declaration
public IEnumerator DisableObject()
Returns
Type | Description |
---|---|
IEnumerator |
ScaleMinMax()
This tests the minimum and maximum scaling for the bounding box.
Declaration
public IEnumerator ScaleMinMax()
Returns
Type | Description |
---|---|
IEnumerator |
ScaleViaHoloLens1Interaction()
Uses far interaction (HoloLens 1 style) to scale the bounding box
Declaration
public IEnumerator ScaleViaHoloLens1Interaction()
Returns
Type | Description |
---|---|
IEnumerator |
ScaleViaNearInteration()
Uses near interaction to scale the bounding box by directly grabbing corner
Declaration
public IEnumerator ScaleViaNearInteration()
Returns
Type | Description |
---|---|
IEnumerator |
SetTarget()
Tests setting a target in code that is a different gameobject than the gameobject the boundingbox component is attached to
Declaration
public IEnumerator SetTarget()
Returns
Type | Description |
---|---|
IEnumerator |
Setup()
Declaration
public void Setup()
ShutdownMrtk()
Declaration
public void ShutdownMrtk()
UpdateTransformUpdatesBounds()
Test that changing the transform of the bounding box target (rotation, scale, translation) updates the rig bounds
Declaration
public IEnumerator UpdateTransformUpdatesBounds()
Returns
Type | Description |
---|---|
IEnumerator |