We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Class BoundsControlTests

    Tests for runtime behavior of bounds control

    Inheritance
    Object
    BoundsControlTests
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Tests.Experimental
    Assembly: cs.temp.dll.dll
    Syntax
    public class BoundsControlTests

    Methods

    BBoxInstantiate()

    Verify that we can instantiate bounds control 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

    ManipulateViaAppBarFarInteraction()

    Test starting and ending manipulating an object via the app bar

    Declaration
    public IEnumerator ManipulateViaAppBarFarInteraction()
    Returns
    Type Description
    IEnumerator

    ProximityOnScaleHandles()

    Tests proximity scaling on scale handles of bounds control Verifies default behavior of handles with effect enabled / disabled as well as custom runtime configured scaling / distance values

    Declaration
    public IEnumerator ProximityOnScaleHandles()
    Returns
    Type Description
    IEnumerator

    RotateViaFarInteraction()

    Test bounds control rotation via far interaction Verifies gameobject has rotation in one axis only applied and no other transform changes happen during interaction

    Declaration
    public IEnumerator RotateViaFarInteraction()
    Returns
    Type Description
    IEnumerator

    RotateViaHololens1Interaction()

    Test bounds control rotation via hololens 1 interaction / GGV Verifies gameobject has rotation in one axis only applied and no other transform changes happen during interaction

    Declaration
    public IEnumerator RotateViaHololens1Interaction()
    Returns
    Type Description
    IEnumerator

    RotateViaNearInteraction()

    Test bounds control rotation via near interaction Verifies gameobject has rotation in one axis only applied and no other transform changes happen during interaction

    Declaration
    public IEnumerator RotateViaNearInteraction()
    Returns
    Type Description
    IEnumerator

    ScaleMinMax()

    This tests the minimum and maximum scaling for the bounds control.

    Declaration
    public IEnumerator ScaleMinMax()
    Returns
    Type Description
    IEnumerator

    ScaleViaFarInteraction()

    Tests scaling of bounds control by grabbing a corner with the far interaction hand ray

    Declaration
    public IEnumerator ScaleViaFarInteraction()
    Returns
    Type Description
    IEnumerator

    ScaleViaHoloLens1Interaction()

    Uses far interaction (HoloLens 1 style) to scale the bounds control

    Declaration
    public IEnumerator ScaleViaHoloLens1Interaction()
    Returns
    Type Description
    IEnumerator

    ScaleViaNearInteration()

    Uses near interaction to scale the bounds control 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 bounds control 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 bounds control target (rotation, scale, translation) updates the rig bounds

    Declaration
    public IEnumerator UpdateTransformUpdatesBounds()
    Returns
    Type Description
    IEnumerator
    Back to top Generated by DocFX