mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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
    Implements
    MonoBehaviour
    Namespace: Microsoft.MixedReality.Toolkit.Experimental.Examples
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScrollableListPopulator : MonoBehaviour, MonoBehaviour

    Properties

    DynamicItem

    Object to duplicate in ScrollCollection.

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

    DynamicItem

    Object to duplicate in ScrollCollection.

    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

    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

    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

    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

    NumItems

    Number of items to generate

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

    ScrollCollection

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

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

    ScrollCollection

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

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

    Methods

    MakeScrollingList()

    Declaration
    public void MakeScrollingList()

    MakeScrollingList()

    Declaration
    public void MakeScrollingList()

    Implements

    MonoBehaviour
    In This Article
    • Properties
      • DynamicItem
      • DynamicItem
      • ItemsPerFrame
      • ItemsPerFrame
      • LazyLoad
      • LazyLoad
      • Loader
      • Loader
      • NumItems
      • NumItems
      • ScrollCollection
      • ScrollCollection
    • Methods
      • MakeScrollingList()
      • MakeScrollingList()
    • Implements
    Back to top Generated by DocFX