Class SliverGridLayout | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class SliverGridLayout

    Inheritance
    System.Object
    SliverGridLayout
    SliverGridRegularTileLayout
    Namespace: com.unity.uiwidgets.Runtime.rendering
    Syntax
    public abstract class SliverGridLayout

    Constructors

    SliverGridLayout()

    Declaration
    public SliverGridLayout()

    Methods

    computeMaxScrollOffset(Int32)

    Declaration
    public abstract float computeMaxScrollOffset(int childCount)
    Parameters
    Type Name Description
    System.Int32 childCount
    Returns
    Type Description
    System.Single

    getGeometryForChildIndex(Int32)

    Declaration
    public abstract SliverGridGeometry getGeometryForChildIndex(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    SliverGridGeometry

    getMaxChildIndexForScrollOffset(Single)

    Declaration
    public abstract int getMaxChildIndexForScrollOffset(float scrollOffset)
    Parameters
    Type Name Description
    System.Single scrollOffset
    Returns
    Type Description
    System.Int32

    getMinChildIndexForScrollOffset(Single)

    Declaration
    public abstract int getMinChildIndexForScrollOffset(float scrollOffset)
    Parameters
    Type Name Description
    System.Single scrollOffset
    Returns
    Type Description
    System.Int32
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023