日本語翻訳ドキュメントはサポートを終了しました

MRTK 2.6 以降のドキュメントについては、公式の Microsoft ドキュメント を参照してください。

    Show / Hide Table of Contents

    Class ScrollViewTests

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

    Methods

    CanBeScrolledByTierOrIndexOrPage()

    Tests if scroll can be moved by page, by tier or to make specific element to be presented in the first visible tier.

    Declaration
    public IEnumerator CanBeScrolledByTierOrIndexOrPage()
    Returns
    Type Description
    IEnumerator

    CanScrollDifferentSizesContent()

    Tests if content made of objects of different sizes can be scrolled.

    Declaration
    public IEnumerator CanScrollDifferentSizesContent()
    Returns
    Type Description
    IEnumerator

    CanScrollNonCollectionContent()

    Tests if component can scroll content made of objects layouted manually without a BaseObjectCollection.

    Declaration
    public IEnumerator CanScrollNonCollectionContent()
    Returns
    Type Description
    IEnumerator

    ChildrenCanBeAddedAndDeleted()

    Tests if adding or deleting children items while scroll is engaged in a drag work as expected.

    Declaration
    public IEnumerator ChildrenCanBeAddedAndDeleted()
    Returns
    Type Description
    IEnumerator

    ClipOnlyVisibleContent()

    Tests correct clipping logic for visible, partially visible and hidden content. Ensures best performance of the clipping primitive component by disabling renderers that are hidden.

    Declaration
    public IEnumerator ClipOnlyVisibleContent()
    Returns
    Type Description
    IEnumerator

    ContentClickHappensOnTouchUp()

    Tests if it is possible to ensure that children click only happens on touch up by changing children configuration.

    Declaration
    public IEnumerator ContentClickHappensOnTouchUp()
    Returns
    Type Description
    IEnumerator

    GGVScroll()

    Tests if far interaction with GGV pointer can engage the scroll drag.

    Declaration
    public IEnumerator GGVScroll()
    Returns
    Type Description
    IEnumerator

    InteractionWithBackgroundEmptySpace()

    Tests scroll drag engage by interacting with the background empty space of a scroll view

    Declaration
    public IEnumerator InteractionWithBackgroundEmptySpace()
    Returns
    Type Description
    IEnumerator

    NoJumpsWhenInteractingWithChildren()

    Tests if interaction with a pressable button child triggers an undesired jump or scroll drag.

    Declaration
    public IEnumerator NoJumpsWhenInteractingWithChildren()
    Returns
    Type Description
    IEnumerator

    ScrollAmountHasCorrectDamp()

    Tests if scroll amount corresponds to a smooth copy of hand movement delta. Overdamping is applied when scroll position is out of min and max bounds.

    Declaration
    public IEnumerator ScrollAmountHasCorrectDamp()
    Returns
    Type Description
    IEnumerator

    ScrollEngageOnlyFromFrontInteraction()

    Tests if scroll engage is only triggered by a near interaction if pointer comes from the front plane.

    Declaration
    public IEnumerator ScrollEngageOnlyFromFrontInteraction()
    Returns
    Type Description
    IEnumerator

    ScrollEngageResetsFarInteractionWithChildren()

    Tests if far interaction with a pressable button item is reset after the user engages in a scroll drag. User should be able to interact with other buttons right after scroll engage is finished.

    Declaration
    public IEnumerator ScrollEngageResetsFarInteractionWithChildren()
    Returns
    Type Description
    IEnumerator

    ScrollEngageResetsNearInteractionWithChildren()

    Tests if near interaction with a pressable button item is reset after the user engages in a scroll drag. User should be able to interact with other buttons right after scroll engage is finished.

    Declaration
    public IEnumerator ScrollEngageResetsNearInteractionWithChildren()
    Returns
    Type Description
    IEnumerator

    ScrollEngageResetsWhenOutOfBoundaryThreshold()

    Tests if scroll engage triggered by a near interaction is reset if pointer crosses outside boundaries threshold.

    Declaration
    public IEnumerator ScrollEngageResetsWhenOutOfBoundaryThreshold()
    Returns
    Type Description
    IEnumerator

    ScrollViewCanbeRotated()

    Tests if scroll behaves as expected if scroll object is rotated.

    Declaration
    public IEnumerator ScrollViewCanbeRotated()
    Returns
    Type Description
    IEnumerator

    ScrollViewCanBeScaled()

    Tests if updating the collection after scaling the scroll object does not alter clipping box local scale.

    Declaration
    public IEnumerator ScrollViewCanBeScaled()
    Returns
    Type Description
    IEnumerator

    Setup()

    Declaration
    public override IEnumerator Setup()
    Returns
    Type Description
    IEnumerator
    Overrides
    BasePlayModeTests.Setup()
    Back to top Generated by DocFX