OSA TParams, TItemViewsHolder Properties |
The OSATParams, TItemViewsHolder generic type exposes the following members.
| Name | Description | |
|---|---|---|
| AsMonoBehaviour |
Simply casts the adapter to a MonoBehaviour and returns it. Guaranteed to be non-null, because OSATParams, TItemViewsHolder implements MonoBehaviour
|
|
| BaseParameters |
The adapter's params that can be retrieved from anywhere through an IOSA reference to this adapter
|
|
| Content | ||
| ContentVirtualInsetFromViewportEnd | ||
| ContentVirtualInsetFromViewportStart | ||
| InsertAtIndexSupported |
Whether InsertItems(Int32, Int32, Boolean, Boolean) is supported. If false, ResetItems(Int32, Boolean, Boolean) should be used
instead
|
|
| IsDragging |
Wether the scrollrect is currently dragged (i.e. the finger/mouse holds onto it)
|
|
| IsHorizontal |
Only one of IsHorizontal and IsHorizontal should be true at any moment
|
|
| IsInitialized | ||
| IsVertical |
Only one of IsHorizontal and IsHorizontal should be true at any moment
|
|
| Parameters |
The adapter's parameters as seen in inspector
|
|
| RecyclableItemsCount |
The number of items that are cached and waiting to be recycled
|
|
| RemoveFromIndexSupported |
Whether RemoveItems(Int32, Int32, Boolean, Boolean) is supported. If false, ResetItems(Int32, Boolean, Boolean) should be used
instead
|
|
| Velocity |
The velocity of the content panel in local UI space (from left to right = positive, from bottom to top = positive)
|
|
| Viewport | ||
| VisibleItemsCount |
The number of currently visible items (views holders). Can be used to iterate through all of them using GetItemViewsHolder(Int32)
|