Beamable SDK
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
VirtualList.VirtualGridList Class Reference
Inheritance diagram for VirtualList.VirtualGridList:
Inheritance graph
Collaboration diagram for VirtualList.VirtualGridList:
Collaboration graph

Public Types

enum  Axis { Horizontal = 0, Vertical = 1 }

Public Member Functions

override Vector2 GetCenteredScrollPosition (int index)
- Public Member Functions inherited from VirtualList.AbstractVirtualList
void SetSource (IListSource source)
void RemoveSource ()
void SetSourceAndCenterOn (IListSource source, int index)
void Invalidate ()
void Clear ()
GameObject GetCell (int index)

Public Attributes

RectOffset padding
Axis axis
Vector2 cellSize = new Vector2(100, 100)
Vector2 spacing
int limit = 1
- Public Attributes inherited from VirtualList.AbstractVirtualList
ScrollRect scrollRect
GameObject tilePrefab
int buffer

Protected Member Functions

override void OnInvalidate ()
override void PositionCell (GameObject cell, int index)
override Vector2 CalculateRawIndices (Rect window)
- Protected Member Functions inherited from VirtualList.AbstractVirtualList
virtual void Awake ()
virtual void Start ()
void OnScrollbarValue (Vector2 scrollValue)
int ItemCount ()

Additional Inherited Members

- Protected Attributes inherited from VirtualList.AbstractVirtualList
Vector2 _activeIndices =
- Properties inherited from VirtualList.AbstractVirtualList
RectTransform Viewport [get]
int StartIndex [get]
int EndIndex [get]

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