the content length along the Y-axis
Sets the true length of the content in the case of pooling / other non-default use cases
the content position in local space
if the ScrollView will continue scrolling on release
Toggles if the ScrollView should continue scrolling on release
if this class is ready to be used, which means that content is set
what amount of the scroll area should always be occupied
Sets the amount of the scroll area should always be occupied
Checks if both inputted content edges are fully visible in the ScrollArea.
0 if not checking any x-axis edge, 1 for right edge, -1 for left edge.
0 if not checking any y-axis edge, 1 for top edge, -1 for bottom edge.
Recomputes content and scroll area boundaries
Resets the content origin for the purpose of calculating scrollPercentage. Assumes that the ScrollView is currently at the top of content in the pooling use case.
Resets the inertia velocity in the case that the developer wants to stop physics upon certain events.
Scrolls content according to a drag vector, along the enabled axis
2D vector to move the content
Sets scroll content. Should be called only one time to initialize the content and binds to onStartEvent.
defines content boundaries
Snaps content to the selected edges
Struct that describes the selected edge as an EdgeSelector
Describes the scrolling logic between the content and the container