Beamable SDK
Classes | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
VirtualList.AbstractVirtualList Class Referenceabstract
Inheritance diagram for VirtualList.AbstractVirtualList:
Inheritance graph
[legend]
Collaboration diagram for VirtualList.AbstractVirtualList:
Collaboration graph
[legend]

Public Member Functions

void SetSource (IListSource source)
 
void RemoveSource ()
 
void SetSourceAndCenterOn (IListSource source, int index)
 
void Invalidate ()
 
void Clear ()
 
GameObject GetCell (int index)
 
abstract Vector2 GetCenteredScrollPosition (int index)
 

Public Attributes

ScrollRect scrollRect
 
GameObject tilePrefab
 
int buffer
 

Protected Member Functions

virtual void Awake ()
 
virtual void Start ()
 
abstract void OnInvalidate ()
 
abstract void PositionCell (GameObject cell, int index)
 
abstract Vector2 CalculateRawIndices (Rect window)
 
void OnScrollbarValue (Vector2 scrollValue)
 
int ItemCount ()
 

Protected Attributes

Vector2 _activeIndices = Vector2.zero
 

Properties

RectTransform Viewport [get]
 
int StartIndex [get]
 
int EndIndex [get]
 

The documentation for this class was generated from the following file: