Class FixedScrollMetrics | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class FixedScrollMetrics

    Inheritance
    Object
    FixedScrollMetrics
    FixedExtentMetrics
    PageMetrics
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class FixedScrollMetrics : ScrollMetrics

    Constructors

    FixedScrollMetrics(Single, Single, Single, Single, AxisDirection)

    Declaration
    public FixedScrollMetrics(float minScrollExtent = 0F, float maxScrollExtent = 0F, float pixels = 0F, float viewportDimension = 0F, AxisDirection axisDirection = AxisDirection.down)
    Parameters
    Type Name Description
    Single minScrollExtent
    Single maxScrollExtent
    Single pixels
    Single viewportDimension
    AxisDirection axisDirection

    Properties

    axisDirection

    Declaration
    public AxisDirection axisDirection { get; }
    Property Value
    Type Description
    AxisDirection
    Implements
    ScrollMetrics.axisDirection

    maxScrollExtent

    Declaration
    public float maxScrollExtent { get; }
    Property Value
    Type Description
    Single
    Implements
    ScrollMetrics.maxScrollExtent

    minScrollExtent

    Declaration
    public float minScrollExtent { get; }
    Property Value
    Type Description
    Single
    Implements
    ScrollMetrics.minScrollExtent

    pixels

    Declaration
    public float pixels { get; }
    Property Value
    Type Description
    Single
    Implements
    ScrollMetrics.pixels

    viewportDimension

    Declaration
    public float viewportDimension { get; }
    Property Value
    Type Description
    Single
    Implements
    ScrollMetrics.viewportDimension

    Methods

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Extension Methods

    ScrollMetricsUtils.axis(ScrollMetrics)
    ScrollMetricsUtils.outOfRange(ScrollMetrics)
    ScrollMetricsUtils.atEdge(ScrollMetrics)
    ScrollMetricsUtils.extentBefore(ScrollMetrics)
    ScrollMetricsUtils.extentInside(ScrollMetrics)
    ScrollMetricsUtils.extentAfter(ScrollMetrics)
    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