Click or drag to resize

OSATParams, TItemViewsHolderGetVirtualAbstractNormalizedScrollPosition Method

Used internally. Returns values in [0f, 1f] interval, 1 meaning the scrollrect is at start, and 0 meaning end.

It uses a different approach when content size is smaller than viewport's size, so it can yield consistent results for ComputeVisibility(Double)

Namespace:  Com.ForbiddenByte.OSA.Core
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public double GetVirtualAbstractNormalizedScrollPosition()

Return Value

Type: Double
1 Meaning Start And 0 Meaning End
Version Information

Optimized ScrollView Adapter

Supported in: 4.1
See Also