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.

Search Results for

    Show / Hide Table of Contents

    Class ScrollableListPopulator

    Simple demonstration of how to instantiate a ScrollingObjectCollection as well as use lazy loading to mitigate the perf cost of a large list of items.

    Inheritance
    Object
    ScrollableListPopulator
    Namespace: Microsoft.MixedReality.Toolkit.Examples.Demos
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScrollableListPopulator : MonoBehaviour

    Properties

    DynamicItem

    Object to duplicate in ScrollView.

    Declaration
    public GameObject DynamicItem { get; set; }
    Property Value
    Type Description
    GameObject

    ItemsPerFrame

    Number of items to load each frame during lazy load

    Declaration
    public int ItemsPerFrame { get; set; }
    Property Value
    Type Description
    Int32

    LazyLoad

    Demonstrate lazy loading

    Declaration
    public bool LazyLoad { get; set; }
    Property Value
    Type Description
    Boolean

    Loader

    Indeterminate loader to hide / show for LazyLoad

    Declaration
    public GameObject Loader { get; set; }
    Property Value
    Type Description
    GameObject

    NumItems

    Number of items to generate

    Declaration
    public int NumItems { get; set; }
    Property Value
    Type Description
    Int32

    ScrollView

    The ScrollingObjectCollection to populate, if left empty. the populator will create on your behalf.

    Declaration
    public ScrollingObjectCollection ScrollView { get; set; }
    Property Value
    Type Description
    ScrollingObjectCollection

    Methods

    MakeScrollingList()

    Declaration
    public void MakeScrollingList()
    In This Article
    Back to top Generated by DocFX