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

    Class PageMetrics

    Inheritance
    Object
    FixedScrollMetrics
    PageMetrics
    Inherited Members
    FixedScrollMetrics.minScrollExtent
    FixedScrollMetrics.maxScrollExtent
    FixedScrollMetrics.pixels
    FixedScrollMetrics.viewportDimension
    FixedScrollMetrics.axisDirection
    FixedScrollMetrics.ToString()
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class PageMetrics : FixedScrollMetrics, IPageMetrics, ScrollMetrics

    Constructors

    PageMetrics(Single, Single, Single, Single, AxisDirection, Single)

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

    Fields

    _viewportFraction

    Declaration
    public readonly float _viewportFraction
    Field Value
    Type Description
    Single

    Properties

    page

    Declaration
    public float page { get; }
    Property Value
    Type Description
    Single
    Implements
    IPageMetrics.page

    viewportFraction

    Declaration
    public float viewportFraction { get; }
    Property Value
    Type Description
    Single
    Implements
    IPageMetrics.viewportFraction

    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