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

    Class ClampingScrollSimulation

    Inheritance
    Object
    Simulation
    ClampingScrollSimulation
    Inherited Members
    Simulation.tolerance
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class ClampingScrollSimulation : Simulation

    Constructors

    ClampingScrollSimulation(Single, Single, Single, Tolerance)

    Declaration
    public ClampingScrollSimulation(float position, float velocity, float friction = 0.015F, Tolerance tolerance = null)
    Parameters
    Type Name Description
    Single position
    Single velocity
    Single friction
    Tolerance tolerance

    Fields

    friction

    Declaration
    public readonly float friction
    Field Value
    Type Description
    Single

    position

    Declaration
    public readonly float position
    Field Value
    Type Description
    Single

    velocity

    Declaration
    public readonly float velocity
    Field Value
    Type Description
    Single

    Methods

    dx(Single)

    Declaration
    public override float dx(float time)
    Parameters
    Type Name Description
    Single time
    Returns
    Type Description
    Single
    Overrides
    Simulation.dx(Single)

    isDone(Single)

    Declaration
    public override bool isDone(float time)
    Parameters
    Type Name Description
    Single time
    Returns
    Type Description
    Boolean
    Overrides
    Simulation.isDone(Single)

    x(Single)

    Declaration
    public override float x(float time)
    Parameters
    Type Name Description
    Single time
    Returns
    Type Description
    Single
    Overrides
    Simulation.x(Single)
    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