Class BoundingBoxTests
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Tests
Assembly: cs.temp.dll.dll
Syntax
public class BoundingBoxTests
Methods
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 |
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 |
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 |