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

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

    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()
    Back to top Generated by DocFX