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

    Class Simulation

    Inheritance
    System.Object
    Simulation
    ClampedSimulation
    FrictionSimulation
    GravitySimulation
    SpringSimulation
    BouncingScrollSimulation
    ClampingScrollSimulation
    Namespace: Unity.UIWidgets.physics
    Syntax
    public abstract class Simulation

    Constructors

    Simulation(Tolerance)

    Declaration
    protected Simulation(Tolerance tolerance = null)
    Parameters
    Type Name Description
    Tolerance tolerance

    Fields

    tolerance

    Declaration
    public Tolerance tolerance
    Field Value
    Type Description
    Tolerance

    Methods

    dx(Single)

    Declaration
    public abstract float dx(float time)
    Parameters
    Type Name Description
    System.Single time
    Returns
    Type Description
    System.Single

    isDone(Single)

    Declaration
    public abstract bool isDone(float time)
    Parameters
    Type Name Description
    System.Single time
    Returns
    Type Description
    System.Boolean

    x(Single)

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