BaseParams Methods |
The BaseParams type exposes the following members.
| Name | Description | |
|---|---|---|
| GetAbstractNormalizedScrollPosition | Obsolete.
Uses a different approach when content size is smaller than viewport's size, but yields the same result for ComputeVisibility
You won't need this, as it's for internal use. For general purposes, just use the built-in ScrollRect.normalizedPosition
| |
| InitIfNeeded |
Called internally in Init and every time the scrollview's size changes.
This makes sure the content and viewport have valid values. It can also be overridden to initialize custom data
| |
| UpdateContentPivotFromGravityType |