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

    Class GravitySimulation

    Inheritance
    System.Object
    Simulation
    GravitySimulation
    Inherited Members
    Simulation.tolerance
    Namespace: Unity.UIWidgets.physics
    Syntax
    public class GravitySimulation : Simulation

    Constructors

    GravitySimulation(Single, Single, Single, Single)

    Declaration
    public GravitySimulation(float acceleration, float distance, float endDistance, float velocity)
    Parameters
    Type Name Description
    System.Single acceleration
    System.Single distance
    System.Single endDistance
    System.Single velocity

    Methods

    dx(Single)

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

    isDone(Single)

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

    x(Single)

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