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

    Class ScrollMetricsUtils

    Inheritance
    System.Object
    ScrollMetricsUtils
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public static class ScrollMetricsUtils

    Methods

    atEdge(ScrollMetrics)

    Declaration
    public static bool atEdge(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    System.Boolean

    axis(ScrollMetrics)

    Declaration
    public static Axis axis(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    Axis

    copyWith(ScrollMetrics, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<AxisDirection>, Nullable<Single>)

    Declaration
    public static ScrollMetrics copyWith(ScrollMetrics it, float? minScrollExtent = default(float? ), float? maxScrollExtent = default(float? ), float? pixels = default(float? ), float? viewportDimension = default(float? ), AxisDirection? axisDirection = default(AxisDirection? ), float? viewportFraction = default(float? ))
    Parameters
    Type Name Description
    ScrollMetrics it
    System.Nullable<System.Single> minScrollExtent
    System.Nullable<System.Single> maxScrollExtent
    System.Nullable<System.Single> pixels
    System.Nullable<System.Single> viewportDimension
    System.Nullable<AxisDirection> axisDirection
    System.Nullable<System.Single> viewportFraction
    Returns
    Type Description
    ScrollMetrics

    extentAfter(ScrollMetrics)

    Declaration
    public static float extentAfter(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    System.Single

    extentBefore(ScrollMetrics)

    Declaration
    public static float extentBefore(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    System.Single

    extentInside(ScrollMetrics)

    Declaration
    public static float extentInside(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    System.Single

    outOfRange(ScrollMetrics)

    Declaration
    public static bool outOfRange(this ScrollMetrics it)
    Parameters
    Type Name Description
    ScrollMetrics it
    Returns
    Type Description
    System.Boolean
    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