Paginate Array
CallablePaginateArrayCalculates the start index, end index, and total page count for paginating any array by item count. Works with any array type.
Type: Callable (has execution pins)
Category: Fortuna|UMG/UI Helpers
Keywords: umg/ui helpers
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| TotalItems | int32 | — | TotalItems parameter |
| PageSize | int32 | — | PageSize parameter |
| PageIndex | int32 | — | PageIndex parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| OutStartIndex | int32 | OutStartIndex output |
| OutEndIndex | int32 | OutEndIndex output |
| OutTotalPages | int32 | OutTotalPages output |
Example Use Cases
Example 1
Page through a Blueprint array without converting it to strings first.
Example 2
Compute UI slot ranges for an inventory grid with pages.