Class BoundingBoxTests
Inheritance
BoundingBoxTests
Assembly: cs.temp.dll.dll
public class BoundingBoxTests
Methods
Tests to see that the handlers grow in size when a pointer is near them
Declaration
public IEnumerator BBoxHandlerUI()
Returns
Type |
Description |
IEnumerator |
|
Verify that we can instantiate bounding box at runtime
Declaration
public IEnumerator BBoxInstantiate()
Returns
Type |
Description |
IEnumerator |
|
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 |
|
Test that if we toggle the bounding box's active status,
that the size of the boundsOverride is consistent, even
when BoxPadding is set.
Declaration
public IEnumerator BBoxOverridePaddingReset()
Returns
Type |
Description |
IEnumerator |
|
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 |
|
This tests the minimum and maximum scaling for the bounding box when target is a child of the box.
Declaration
public IEnumerator ScaleChildTargetMinMax()
Returns
Type |
Description |
IEnumerator |
|
This tests the minimum and maximum scaling for the bounding box.
Declaration
public IEnumerator ScaleMinMax()
Returns
Type |
Description |
IEnumerator |
|
Uses far interaction (HoloLens 1 style) to scale the bounding box
Declaration
public IEnumerator ScaleViaHoloLens1Interaction()
Returns
Type |
Description |
IEnumerator |
|
Uses motion controller to scale the bounding box
Declaration
public IEnumerator ScaleViaMotionControllerInteraction()
Returns
Type |
Description |
IEnumerator |
|
Uses near interaction to scale the bounding box by directly grabbing corner
Declaration
public IEnumerator ScaleViaNearInteration()
Returns
Type |
Description |
IEnumerator |
|
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 |
|
Declaration
public IEnumerator SetUp()
Returns
Type |
Description |
IEnumerator |
|
Declaration
public IEnumerator TearDown()
Returns
Type |
Description |
IEnumerator |
|
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 |
|