VariableListMath.BuildOffsets method
Rebuild the cumulative top-edge offsets. offsets MUST have length ≥ count + 1; on return offsets[i] is the distance from the content top to row i’s TOP edge, and offsets[count] is the total content height (also the return value). A row uses its measured height when measured[i] is true, else the shared estimate — so an un-shown row contributes an approximate height that refines the moment it is first measured. Negative heights are floored to 0 (a not-yet-laid-out row never shrinks the content).
public static float BuildOffsets(int count, float[] offsets, float[] heights, bool[] measured, float estimate)See Also
Section titled “See Also”- class VariableListMath
- namespace Stellar.Abstractions.Services