ScrollableListPopulator Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public ref class ScrollableListPopulator : UnityEngine::MonoBehaviour
[UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ScrollableListPopulator")]
public class ScrollableListPopulator : UnityEngine.MonoBehaviour
[<UnityEngine.AddComponentMenu("Scripts/MRTK/Examples/ScrollableListPopulator")>]
type ScrollableListPopulator = class
inherit MonoBehaviour
Public Class ScrollableListPopulator
Inherits MonoBehaviour
- Inheritance
-
UnityEngine.MonoBehaviourScrollableListPopulator
- Attributes
-
UnityEngine.AddComponentMenuAttribute
Constructors
ScrollableListPopulator() |
Properties
DynamicItem |
Object to duplicate in ScrollView. |
ItemsPerFrame |
Number of items to load each frame during lazy load |
LazyLoad |
Demonstrate lazy loading |
Loader |
Indeterminate loader to hide / show for LazyLoad |
NumItems |
Number of items to generate |
ScrollView |
The ScrollingObjectCollection to populate, if left empty. the populator will create on your behalf. |
Methods
MakeScrollingList() |