Click or drag to resize

BaseParams Methods

The BaseParams type exposes the following members.

Methods
  NameDescription
Public methodGetAbstractNormalizedScrollPosition 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
Public methodInitIfNeeded
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
Public methodUpdateContentPivotFromGravityType
Top
See Also