BaseParams Properties |
The BaseParams type exposes the following members.
Name | Description | |
---|---|---|
content | Obsolete. | |
Content | ||
contentGravity | Obsolete. | |
contentPadding | Obsolete. | |
ContentPadding | Padding for the 4 edges of the content panel | |
contentSpacing | Obsolete. | |
ContentSpacing | Spacing between items (horizontal if the ScrollView is horizontal. else, vertical) | |
DefaultItemSize | The size of all items for which the size is not specified | |
DragEnabled |
Allows you to click and drag the content directly (enabled by default).
The ForwardDragToParents is not affected by this.
NOTE: Do not change this property during a drag event (i.e. when IsDragging is true)
| |
ForwardDragToParents | You'll probably need this if the scroll view is a child of another scroll view.
If enabled, the first parent that implements all of IInitializePotentialDragHandler, IBeginDragHandler, IDragHandler and IEndDragHandler will be informed
about these events when they occur on this scroll view. This works both with Unity's ScrollRect and OSA | |
galleryEffectAmount | Obsolete. | |
galleryEffectViewportPivot | Obsolete. | |
Gravity |
The effect of this property can only be seen when the content size is smaller than the viewport, case in which there are 3 possibilities:
place the content at the start, middle or end. FROM_PIVOT doesn't change the content's position (it'll be preserved from the way you aligned it in edit-mode)
| |
IsHorizontal | ||
loopItems | Obsolete. | |
orientation | Obsolete. | |
Orientation | ||
recycleBinCapacity | Obsolete. | |
scrollbar | Obsolete. | |
Scrollbar | ||
ScrollEnabled |
Allows you to scroll by mouse wheel or other similar input devices (enabled by default).
The ForwardDragToParents is not affected by this.
NOTE: Do not change this property during a drag event (i.e. when IsDragging is true)
| |
ScrollSensivity | The sensivity to the Mouse's scrolling wheel or similar input methods. Not related to dragging or scrolling via scrollbar | |
ScrollViewRT | ||
Snapper | ||
TransientSpeedBetweenDrags | If enabled, multiple drags in the same direction will lead to greater speeds | |
viewport | Obsolete. | |
Viewport | If null, ScrollViewRT is considered to be the viewport |